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


Please Help Members By Posting Answers For Below Questions

What are different type of exceptions in java?

555


What do you understand by weak reference?

562


What does n mean?

522


When do we use synchronized methods in java?

586


What is bubble sort in java?

621






What does || mean in code?

545


What is java Applet?

652


What is numeric function?

544


What class allows you to read objects directly from a stream?

876


Can you instantiate the math class in Java?

618


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

562


Why singleton class is used in java?

577


What are keywords and reserved words in java?

563


What is the maximum size of hashmap in java?

541


Name and explain the types of ways which are used to pass arguments in any function in java.

576