B 3.2.5 Coding Worksheet - Python Answers
Answer: s2.count is 2. This is because s1 and s2 are references to the same object in memory. Answer: You do not need to change the client code. The factory decouples object creation from the code that uses them, allowing you to add new types (Open for extension) without modifying existing logic in the main app (Closed for modification). Answer: The Subject uses the Observer interface (Abstract Base Class). Because...