Nested classes VS Inner classes?

Answer Posted / neeraj agrawal

nested class are those class with in another class
whose defined in static modifier while inner class are those class with in another class is called inner class.
ya we can say static class are nested class while inner class are non static class.

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of I ++ in java?

605


What is difference between java and java ee?

555


Can list be null in java?

577


Differentiate between == and equals().

594


What happens when main () method is declared as private?

648






What are the differences between checked exception and unchecked exception?

526


What are the types of collections in java?

538


Is 64bit faster than 32 bit?

577


What is meant by null and void?

536


What is difference between core java and java ee?

470


How do you do absolute value in java?

523


List out benefits of object oriented programming language?

481


Explain what is Marker interface?

616


What is an argument in java?

509


How will you load a specific locale?

536