Can a class have a static inner class?
Answer / Namita Dabral
"Yes, a class can have a static nested class which is also known as a static inner class. Such classes can only access the static members of their enclosing class and are declared using the static keyword."
| Is This Answer Correct ? | 0 Yes | 0 No |
What are loops in java? What are three types of loops?
Explain about instanceof operator in java?
why are there separate wait and sleep methods? : Java thread
What is meant by method overriding?
What is the synonym of procedure?
what is the difference between the "protected and default" modifiers?
Tell me are there implementations for sorting and searching in the java libarary?
Explain what is encapsulation?
Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?
Difference between hashCode() & equals()?
What is the difference between size and length in java?
What is the difference between variable & constant?