why static class in java or what is use of static class in java
Answers were Sorted based on User's Feedback
Answer / prathyusha
static class is created before object of the class is created.
Is This Answer Correct ? | 16 Yes | 0 No |
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 |
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 |
What is the purpose of the return statement?
What is vector?
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?
What is the difference between stream and buffer?
Can an interface have a constructor?
Explain about anonymous inner classes ?
Are generics important java?
Why does java not support pointers?
What does escaping a character mean?
Write a java program to get a string of words and print the numbers of each word count in descending order
What will be the output of round(3.7) and ceil(3.7)?
Explain about complier design(phases)
0 Answers Aditi Placement Service,