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
Differentiate between class and structure.
Which is faster call by value or call by reference?
Explain about instanceof operator in java?
What is queue in java?
What is a method in java?
Can a constructor call the constructor of parent class?
What is merge sort in java?
Can we override the static methods?
What are the different data types in java?
Is an array a vector?
What is the biggest integer?
How do you write a good declaration?
How to access arraylist elements in java?
If a method is declared as protected, where may the method be accessed?
What is private static class in java?