why static class in java or what is use of static class in java
Answer Posted / chantiraji
we are using with out creating object for static class because, JVM allocate the consistent memory for static class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is %d in printf?
what is object-oriented programming in java?
What is final keyword?
Can memory leak in java?
Explain restrictions on using enum?
What is the public field modifier?
Can each java object keep track of all the threads that want to exclusively access it?
What is the public method modifier?
Is empty string in java?
Explain the difference between jdk, jre, and jvm?
In the below example, how many string objects are created?
How big is a 64 bit float?
Are variables stored in ram?
What is 16 bits called?
What are the differences between checked exception and unchecked exception?