can we create object for static class in java
Answer Posted / surendra pokuri
we cann't code static outer class.
we can define static nested class.
so we can create instance of static nested class, but no
need to create.
we can use directly
as
outerclass.innercla.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is difference between Heap and Stack Memory?
What is high level language in computer?
What is anti pattern in java?
How are multiple inheritances done in Java?
Can we serialize static variables in java?
How to provide security in java
How many functional interfaces does java 8 have?
Why is java architectural neutral?
Is alive in java?
Can abstract class have private constructor?
What is variable and example?
What is yield () in java?
What is the platform?
Differentiate between a class and an object.
Explain OOPs concept.