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


Please Help Members By Posting Answers For Below Questions

What is polymorphism in java? What are the kinds of polymorphism?

796


what invokes a threads run() method? : Java thread

765


Can we use a default constructor of a class even if an explicit constructor is defined?

847


Why main() method is public, static and void in java ?

836


What is the symbol for space?

756


What is string buffer?

717


How do you format in java?

773


Why unicode is important?

678


Can we make the abstract methods static in java?

798


How to handle a web browser resize operation?

749


What is ide with example?

723


Is passing by reference faster?

757


Write a program based on Java script program.

851


Can you have two constructors in java?

682


What is update method called?

876