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 the biggest integer?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What are the uses of java?
Why java is not 100% object-oriented?
Is string passed by reference in java?
What is data movement?
What is the difference between iterator and enumeration ?
How many bytes is a string?
What is the purpose of using the java bean?
How are this() and super() used with constructors in java programming?
What is meant by attribute?
Explain about collection interface in java?
What do you understand by copy constructor in java?
why would you use a synchronized block vs. Synchronized method? : Java thread
What is entry set in java?