why static class in java or what is use of static class in java
Answer Posted / 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 |
Post New Answer View All Answers
Can a vector contain heterogenous objects?
what is the volatile modifier for? : Java thread
Is it possible to write a regular expression to check if string is a number?
How does the garbage collector works in java?
What is meant by distributed application? Why are we using that in our application?
Which is better singleton or static class?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
What are "methods" and "fields"?
What is the byte range?
What is locale?
Why we use multi threading instead of multiprocessing?
Is the empty set a singleton?
Who is founder of java?
What are static blocks in java ?
What is the purpose of using java.lang.class class?