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
What is the console in java?
What is the use of using enum to declare a constant?
Can you give few examples of final classes defined in java api?
What does += mean coding?
What is the difference between array and array list in java?
what is the constructor and how many types of constructors are used in java?
What are operators and its types?
What is use of static in java?
What is garbage collector?
What are the types of relation?
Are registers volatile?
Where are the local variables stored?
What is the impact of declaring a method as final?
Which java version is latest?
What languages are pass by reference?