What is an inner class in java?


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

Post New Answer

More Core Java Interview Questions

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  


Why sleep()is in Thread and wait() in Object class? Why can't I have both in one class or vice versa?

1 Answers  


Highest level event class of the event-delegation model?

0 Answers  


Is null a string?

0 Answers  


Explain final, finalize() and finally?

11 Answers   Accenture, TCS,


List down the methods and interfaces of collection class in java.

0 Answers  


why the primitive data type have classes?

4 Answers  


How do you implement polymorphism in our day to day life?

0 Answers   Cap Gemini,


how to one war file class to another war file class?

0 Answers  


What are desktop procedures?

0 Answers  


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

0 Answers   Amazon,


What is the meaning of variable in research?

0 Answers  


Categories