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 are different type of exceptions in java?
What do you understand by weak reference?
What does n mean?
When do we use synchronized methods in java?
What is bubble sort in java?
What does || mean in code?
What is java Applet?
What is numeric function?
What class allows you to read objects directly from a stream?
Can you instantiate the math class in Java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Why singleton class is used in java?
What are keywords and reserved words in java?
What is the maximum size of hashmap in java?
Name and explain the types of ways which are used to pass arguments in any function in java.