Can we have any code between try and catch blocks?
No Answer is Posted For this Question
Be the First to Post Answer
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
Is there is any error if you have multiple main methods in the same class?
What methodology can be utilized to link to a database?
What is a null check?
Do we have pointers in java?
What is difference between equal and == in java?
Can we cast any other type to boolean type with type casting?
Can we iterate through collection using for loop?
Explain the difference between the Boolean & operator and the && operator?
what is the use/perpose of having a method antive?
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 are runtime exceptions?