Skip navigation

Example: the singleton pattern

Example: the singleton pattern: Programming Foundations: Object-Oriented Design
Example: the singleton pattern: Programming Foundations: Object-Oriented Design

The Singleton design pattern is a programming approach to the problem of making sure you only ever have one object of a particular class at any time. The approach involves effectively hiding the object so that it appears to not exist until the first time it is called. On the second and subsequent times it's called, the object is returned with no need to create it again. Learn more in this online video "Example: the singleton pattern."

Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 1m
Duration
5,544,821
Views
Show More Show Less
Skills covered in this course
Design Patterns Developer Programming Foundations Java

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.