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


Please Help Members By Posting Answers For Below Questions

v-model life cycle

1624


What does those terms actually mean included in the j.d.k i.6?

1608


difference between byte stream class and character stream class?

4090


What is starvation?

688


What is the properties class?

565






How does linkedhashmap work in java?

522


What is nested class?

573


Is java call by reference?

534


What is the major advantage of external iteration over internal iteration?

617


Can you override private or static method in java?

556


Why are pointers not secure?

541


Explain about main thread in java?

615


Can we clone singleton object in java?

575


How do you use find and replace?

516


Why are functions called methods in java?

538