Can we have any code between try and catch blocks?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

0 Answers   Wipro,


Is there is any error if you have multiple main methods in the same class?

10 Answers   Infosys, Wipro,


What methodology can be utilized to link to a database?

0 Answers  


What is a null check?

0 Answers  


Do we have pointers in java?

0 Answers  






What is difference between equal and == in java?

0 Answers  


Can we cast any other type to boolean type with type casting?

0 Answers  


Can we iterate through collection using for loop?

2 Answers   Rolta,


Explain the difference between the Boolean & operator and the && operator?

1 Answers  


what is the use/perpose of having a method antive?

2 Answers  


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.

9 Answers  


What are runtime exceptions?

0 Answers  


Categories