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


Please Help Members By Posting Answers For Below Questions

Which types of exceptions are caught at compile time?

567


What are keywords give examples?

583


What is the difference between numeric and integer?

513


How do you remove an object from an arraylist in java?

467


Can we assign null to double in java?

552






What is a "pure virtual" member function?

600


What is the relationship between class and object?

527


How is string stored in java?

564


Difference between linkedlist and arraylist.

594


What is flush buffer?

521


What is the point of polymorphism java?

547


Can we write multiple catch blocks under single try block?

577


What are the types of java?

607


What is an association?

551


What is the difference between java applets and applications?

570