What is difference between static and singleton class?
Answer / Poonam Singh
A static class in Java can be thought of as a collection of utility methods, while a Singleton class is a single instance of a class that can be accessed across the entire application. A static class does not have instances, and its methods are shared among all objects. A Singleton class has exactly one instance per JVM, but its methods can still interact with other objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of @service annotation?
What is spring responseentity?
What is a jointpoint?
Does google use spring framework?
What are the difference between spring aop and aspectj aop?
Can I learn spring boot without spring? : Spring Boot
What do you mean by bean autowiring in spring?
How many types of spring beans are there?
What is servlet in spring?
What is the difference between spring batch and spring boot? : Spring Boot
What are the ways to insert the collection concept in spring?
What is the difference between war file and jar file?