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 hash code collision?
What is the do while loop syntax?
Why is java multithreaded?
What is the difference between access specifiers and access modifiers in java?
explain different ways of using thread? : Java thread
Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public private.
Why isn’t there operator overloading?
what is j2se
How many types of interfaces are there?
How to calculate the length of a singly linked list in java?
What is stringreader?
what is purpose of collections.unmodified() method..?