The Singleton Pattern: Java Design Patterns Part 10

Publié le: 27 février 2013
sur la chaîne: Cave of Programming
11,461
63

More courses! Free C++ course: https://www.udemy.com/course/free-lea...
Make a social network with Spring Boot: https://www.udemy.com/course/java-spr...
Learn about MySQL and relational databases: https://www.udemy.com/course/mysql-an...
Java desktop programming: https://www.udemy.com/course/java-swi...
Intermediate-Advanced C++ 11: https://www.udemy.com/course/learn-ad...
-------------------------------------------------------------------------------------------------------------------------------------------
The singleton pattern is a way of allowing only one object of a particular class in your program, and making that object global. Since any part of your program can then access that object, the singleton pattern can lead to impenetrable code with all the disadvantages of global variables, and so is a little bit controversial. Nevertheless, it's widely used and important to understand.
--------------------------------------------------------------------------------------------------------------------------------------------
More videos on my YouTube channel:    / caveofprogramming  


Sur cette page du site, vous pouvez voir la vidéo en ligne The Singleton Pattern: Java Design Patterns Part 10 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Cave of Programming 27 février 2013, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 11,461 fois et il a aimé 63 téléspectateurs. Bon visionnage!