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

How static variable work in java?

0 Answers  


What are the different types of data structures in java?

0 Answers  


Is math an abstract class in java?

0 Answers  


How to perform selection sort in java?

0 Answers  


How to create a base64 decoder in java8?

0 Answers  






Is math class static in java?

0 Answers  


What is stringbuffer in java?

0 Answers  


Why does abstract class have constructor?

0 Answers  


Can java run on google chrome?

0 Answers  


Is null function in java?

0 Answers  


Can java object be locked down for exclusive use by a given thread?

0 Answers  


what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }

3 Answers   TCS,


Categories