can we create object for static class in java
Answer Posted / shishir
for a top level class a static but you can create a inner
class static and make an object of same, but it will be of
no use as static class you can use with out instantiating.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is t in parametric equations?
Can we have multiple classes in single file ?
How do you insert a line break?
What is anonymous inner class?
What is the difference between an interface and an abstract class?
What is close method? How it's different from Finalize & Dispose?
Can you have two constructors in java?
What are java threads?
In which language java is written?
Are generics important java?
What are different types of arrays?
What is meant by flickering?
When is the arraystoreexception thrown?
How big is a 64 bit float?
What does the three dot emoji mean?