Why do inner class cannot have static declaration except
static nested class?
Answer Posted / adithya
Static have only one copy in memory. For class we have to
create objects. But for static we cannot create.
Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
What is a line break example?
How do generics work in java?
How to find the largest value from the given array.
Explain, java is compatible with all servers but not all browsers?
Explain the protected field modifier?
How do weakhashmap works?
Can we convert stringbuffer to string?
explain multi-threading in java?
What is the use of StringTokenizer class?
What does += mean in java?
Which java version is latest?
What is sortedset in java?
What is default constructors?
What is connection class in java?
What is string substring?