why static class in java or what is use of static class in java
Answer Posted / jyotiranjan jena
JVM can call the static method without creating instance of this class.We can save memory if we create class as static
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is canonical name in java?
What are the procedures?
Explain what are final variable in java?
Can you override static methods?
What is the difference between throw and throws in java?
What is the difference in between cpp and java? Can u explain in detail?
What is a list in java?
Explain static nested classes ?
How strings are created in java?
Can a main method be declared final?
What is the difference between hashmap and hashtable? What is an interface?
How to avoid memory leak in java?
What about interthread communication and how it takes place in java?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
Why is String immutable?