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 * argv?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
How do you stop a thread in java?
Can a constructor be protected?
What are the advantages of autoboxing?
How do you reverse a string in java?
Why runnable interface is used in java?
What is loop in java?
How to sort a collection of custom Objects in Java?
What is an object’s lock and which object’s have locks?
Objects or references which of them gets garbage collected?
What is better- service oriented or batch oriented solutions?
Which api is provided by java for operations on set of objects?
Explain about collection interface in java?
What methods are used in Servlet?Applet communication?