static inner classes means..?

Answer Posted / ranganathkini

static inner classes are nested class members marked by the
"static" keyword. These classes have access to the enclosing
class's static members but no access to the non-static
members of the enclosing class.

Static classes do not depend on an instance of their
enclosing class and hence they can be instantiated without
instantiating their enclosing class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the console in java?

672


What is the use of using enum to declare a constant?

548


Can you give few examples of final classes defined in java api?

555


What does += mean coding?

505


What is the difference between array and array list in java?

600






what is the constructor and how many types of constructors are used in java?

531


What are operators and its types?

567


What is use of static in java?

519


What is garbage collector?

616


What are the types of relation?

561


Are registers volatile?

525


Where are the local variables stored?

512


What is the impact of declaring a method as final?

556


Which java version is latest?

532


What languages are pass by reference?

532