Skip navigation

Example: the singleton pattern

Example: the singleton pattern: Foundations of Programming: Object-Oriented Design
Example: the singleton pattern: Foundations of Programming: 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
4,050,839
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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now