Multiple choice technology programming languages

In Static inner classes, the data members and the member functions are by default static.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Static inner classes (nested static classes) behave like regular classes - their members are NOT static by default. They can have both instance and static members, just like any other Java class. The 'static' keyword on the class only means it doesn't require an instance of the enclosing class.