What is singleton class in android? [MCQ]
Answers
Answered by
1
The singleton pattern is a software design pattern that guarantees a class has one instance only and a global point of access to it is provided by that class..
Answered by
0
Explanation:
A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency and creating a central point of access for an application to access its data store. This example demonstrate about How to use singleton class in android.
Similar questions