What are different data structures in java?
Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.
What is console based application in java?
What is the difference between hashmap and hashtable? What is an interface?
What is the difference between hashmap and hashtable in java?
What does this() represent, and how is it used in Java?
What is the main purpose of java?
How do you format in java?
In Java, what types of classes perform inheritance?
can we access the method of class without creating the object of the class
What is difference between an object and a class?
Java support call by reference (pass by reference) ?
What is the benefit of lambda expressions?