static inner classes means..?



static inner classes means..?..

Answer / 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

More Core Java Interview Questions

What is a compilation unit?

2 Answers  


How is the marker interface used in Java?

0 Answers   BirlaSoft,


Can we have more than one package statement in the source file?

0 Answers  


What is ascii format?

0 Answers  


Need to use public,static keywords in main function?

5 Answers  






why the primitive data type have classes?

4 Answers  


Can list be null in java?

0 Answers  


Why java is a platform independent? Explain

0 Answers  


What is thread life cycle in java?

0 Answers  


State some advantages of java?

0 Answers  


Why does java have different data types for integers and floating-point values?

0 Answers  


Which number is denoted by leading zero in java?

0 Answers  


Categories