1

Which design pattern ensures a class has only one instance?

Correct Answer: Singleton

Make the most of this question

This page focuses on one PHP MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

PHP MCQs MCQ: Which design pattern ensures a class has only one instance? | Extra Education