why static class in java or what is use of static class in java

Answers were Sorted based on User's Feedback



why static class in java or what is use of static class in java..

Answer / prathyusha

static class is created before object of the class is created.

Is This Answer Correct ?    16 Yes 0 No

why static class in java or what is use of static class in java..

Answer / 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

why static class in java or what is use of static class in java..

Answer / 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

More Core Java Interview Questions

What is the purpose of the return statement?

0 Answers  


What is vector?

0 Answers  


What is escape analysis algorithm in JVM and how garbage collection actually worked n how it transfer the objects from one kind of space to other?

0 Answers  


What is the difference between stream and buffer?

0 Answers  


Can an interface have a constructor?

0 Answers  


Explain about anonymous inner classes ?

0 Answers  


Are generics important java?

0 Answers  


Why does java not support pointers?

0 Answers  


What does escaping a character mean?

0 Answers  


Write a java program to get a string of words and print the numbers of each word count in descending order

11 Answers   Logica CMG, Subex,


What will be the output of round(3.7) and ceil(3.7)?

0 Answers  


Explain about complier design(phases)

0 Answers   Aditi Placement Service,


Categories