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
Which types of exceptions are caught at compile time?
What are keywords give examples?
What is the difference between numeric and integer?
How do you remove an object from an arraylist in java?
Can we assign null to double in java?
What is a "pure virtual" member function?
What is the relationship between class and object?
How is string stored in java?
Difference between linkedlist and arraylist.
What is flush buffer?
What is the point of polymorphism java?
Can we write multiple catch blocks under single try block?
What are the types of java?
What is an association?
What is the difference between java applets and applications?