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

What is the symbol for average?

731


Can finally block be used without a catch?

759


What is generic type?

809


Write a java program to print fibonacci series?

764


What is the generic class?

724


Why is java architectural neutral?

869


What are the steps involved to create a bean?

905


What is the abstraction?

803


What is a qualifier in a sentence?

767


What is finalize()? Is finalize() similar to a destructor?

764


What is == in java?

785


What are the features of junit?

839


What is the integer of 16?

766


Explain different forms of polymorphism?

886


Can we have this () and super () together?

807