What is difference between string and stringbuffer?
No Answer is Posted For this Question
Be the First to Post Answer
why would you use a synchronized block vs. Synchronized method? : Java thread
What is the difference between integer parseint and integer valueof?
What is fail first in java?
What is protected in java?
Differentiate between run time error and syntax error.
What is the purpose of java?
Java does not support multiple inheritance. how interface helps in the same?
What is the superclass of exception?
Is int a class in java?
What is the original name of java?
What is the class 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.