2020 Sep 18 3:02 PM
can any one give real time examples for single ton class and where exactly we can use the single ton class?
can any one give real time examples for single ton class and where exactly we can use the single ton class?
2020 Sep 18 3:07 PM
Hi Tanuja,
Check this - https://blogs.sap.com/2019/08/08/singleton-design-pattern-a-simple-yet-useful-example/
A search in the forum would give you more information as i got this by searching in forum.
Gaurav
2020 Sep 18 3:16 PM
tanuja_tv,
Your title is completely irrelevant to your actual question. Please follow the community guidelines to get a better understanding on the forum.
Regarding Your question for singleton Class:
Singleton Classes are the ones that can be instantiated only once. The one advantage of the Singleton classes would give us the flexibility to be extended in future compared to Static methods. Also Test Double is another advantage. You need a good understanding on the concepts for better understanding.
There are plenty of resources on the same, you can start with some as mentioned below:
Regards!
2020 Sep 18 4:21 PM
Hi Tanuja,
Looks like you are new to the community. I can understand from your point of view that it is very important to know the place where you can find few examples. However, it is always a good approach to post a question after you have used the feature of search with in the community.
Well if you are not sure where to start in the community or where to find all the tags where you can find and search the content tag which you like is here.
Regards
Pavan Bhamidipati
2020 Sep 18 8:19 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |