Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on May 8, 2016
Use the singleton design pattern to ensure your program only ever has one instance of a particular object. This is useful when that object needs to use an external resource (file, database, other program) that might not be able to handle many simultaneous objects trying to use it.