Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is a design pattern?
Think about templates in coding.
Name one category of design patterns.
Classify them based on function.
What does the Singleton pattern ensure?
Think about a unique entity.
True or False: The Factory Method pattern requires you to specify the exact class of object you want to create.
Consider flexibility in choice.
Design a simple Java application using the Observer pattern to notify users of a temperature change. Explain your reasoning.
Consider real-world scenarios like weather apps.
Explain how the Factory Method pattern could improve a simple application that creates vehicles. What advantages would it offer?
Think about ease of adding features.
5 more questions in this section. Enroll free to practise them all.
Enroll free