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
Name few "optional" classes introduced with java 8 ?
What is the difference between Error, defect,fault, failure and mistake?
What is unicode in java?
What is a package in java? List down various advantages of packages.
Why vector class is used?
How to perform linear search in java?
What does java edition mean?
What is meant by class loader? How many types are there? When will we use them?
What is a java object and java application?
Explain about complier design(phases)
What is the use of jtable?
Write a program to reverse array in place?
What is the concatenation operator in java?
What are the restriction imposed on a static method or a static block of code?
What are void pointers?