Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Across 1. Encapsulation is the concept
1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Across 1. Encapsulation is the concept of data and behavior together. 4. To implement Singleton Pattern, we have to declare the constructor 6. Observers are on the subject 9. When an access modifier is not given, is used. 10. One subject likes to talk to observers. 11. A singleton is a class that manages an instance of 12. The model in MVC use of the pattern so that it can keep observers updated yet stay decoupled from them. 13. Ineritance supports of data and behavior 16. Concept of design patterns revolves around the principle of practices 18. Model-View-Controller is a pattern 19. Java uses pass-by- type of parameter passing 20. When you create your singleton instance in the getInstance method, it is called initialization Down 2. Observers like to be when something new happens. 3. When implementing a Singleton, one way to address multithreading woes is by making getinstance a method. 5. Subject is an 7. A subject is similar to a 8. In MVC is responsible to translate user actions into operations. 14. If you don't worry about lazy instantiation, you can create your instance 15. Singleton ensures only one of these exists 17. Observers must implement method to get notified
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started