Nested classes VS Inner classes?

Answer Posted / kamal hassan

A staic class difined with in anothaer class is called
nested class.
A non static class defined in another class is called inner
class.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is heap memory?

660


What are the two types of java programming?

541


Can a constructor call another constructor?

567


What is casting in java programming?

587


What happens if an exception is throws from an object's constructor?

631






Can a vector contain heterogenous objects?

607


If you do not want your class to be inherited by any other class. What would you do?

565


What is the method to declare member of a class static?

539


Explain the init method?

547


What is null in java?

525


What is remote method invocation (rmi)?

617


What's the access scope of protected access specifier?

535


Where to store local variables?

587


What is the byte range?

584


When should the method invokelater() be used?

586