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 the difference between compiler and jvm?
What is the difference between stream and buffer?
what is the volatile modifier for? : Java thread
Difference between linkedlist and arraylist.
How use .contains in java?
Is java a digit method?
Is there any difference between synchronized methods and synchronized statements?
Which graphs are functions?
What is identifier with example?
Can a java program have 2 main methods?
Why are constructors used?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is map java?
What is a ternary operator in java?
How to instantiate static nested classes in java?