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 |
a thread is runnable, how does that work? : Java thread
Can we create more than one object singleton class?
how to write a server program and sending the mails to the server using smtp protocol please help me
What is a default constructor and also define copy contrucyor?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
Can I declare class as static or private?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
what is the diff b/w arraylist and vector?
6 Answers Code Genesis, Genesis, Sprintine Labs,
What is %d in printf?
Can a constructor be protected?
What are use cases?
what is bmg file and how to create that files?what will it contailn?
0 Answers HCL, Probe Services,