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 |
An inner class can actually be a subclass of the outer class? a. true b. false
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
what is difference between excute query ()and execute update ()?
When will you define a method as static in Java?
0 Answers SwanSoft Technologies,
What are recursive functions?
Write the algorithm to check the number non-leaf nodes in a tree.
What about abstract classes in java?
what is filters and its use?
What are register variables what are the advantages?
What is args length in java?
What is instance example?
Can an interface have a constructor?