Answer Posted / leelanarasimhareddy
A singleton is a class for which only one instance can exist
within a program. In other words, only one, single object of
that particular class can be created in a program.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are anonymous methods and lambda expression?
What is java lang?
Explain the reason for each keyword of public static void main(string args[])?
Why do we only use the main method to start a program?
What is java web application?
What is transactional in java?
What is optional in java 8? What is the use of optional?advantages of java 8 optional?
What is an api in java?
How do I enable jvm?
What is cookie in java?
What gives java it’s “write once and run anywhere” nature?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?
What is a java executable jar file?
Do I really have to type in the programs in the book to try them out?
What does el mean in java?