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
Where and how can you use a private constructor?
Give few difference between constructor and method?
What are the states of thread in java?
How many bytes are there?
What are the procedures?
Explain different ways of creating a thread. Which one would you prefer and why?
Is java a utf 8 string?
Is set ordered?
what is encapsulation in java? Explain
How many digits is int32?
What is static and final keyword in java?
Define how can we find the actual size of an object on the heap?
What is locale in java?
Explain wait(), notify() and notifyall() methods of object class ?
How to make a non daemon thread as daemon?