What is singleton class?

Answer Posted / harinath reddy.n

Instead of creating a separate object for every requirement we can create a single object and we can reuse the same object for every requirement

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I type unicode?

742


What restrictions are placed on method overloading?

896


How do you declare a destructor in java?

727


What is the range of the short type?

797


How many bytes is a unicode character?

750


What are pass by reference and pass by value?

720


Which is better singleton or static class?

713


What are the high-level thread states in java programming?

847


What data type is a string?

739


How many types of literals are there in JAVA?

806


What is the use of :: in java?

795


What is a priority queue java?

738


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

2215


What are dot operator queries?

874


How does linkedlist work in java?

718