Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java programming: E. none of the above. (1) 29. What is likely occuring as part

ID: 3909092 • Letter: J

Question

Java programming:

E. none of the above. (1) 29. What is likely occuring as part of the following model-view-controller code? MyModel modelnew MyModel ) MyView view - new MyView (model); MyController controller -new MyController (model, view) A. listener in view detects changes, propagates to controller and model, B. view displays information from model whenever it detects changes, C. model detects changes, notifies view, D. controller detects changes to view, controller updates model then view. (1) 30. What is likely occuring as part of the following model-view-controller code? MyModel modelnew MyModel) MyView view - new MyView (model); model.addobserver (view) MyController controller-new MyController (model, view); A. when model changes, it tells view, view asks model for changed data, B. controller detects changes to view, controller updates model, then view, C. view detects changes, then tells model, D. listener in view detects changes, propagates to controller and model, (1) 31. What is likely occuring as part of the model-view-controller code from the previous question? A. model is extending a class, B. view is implementing an interface, C. model calls notifyobservers ) from Observable class, D. all of the above, E. none of the above

Explanation / Answer

Answers:-
---------

29.D).Controller detects changes to view,controller updates model then view.

30.A).When nodel Changes,it tells the view ,view asks model for changed data.

//. If the model data changes, the view must update its presentation as needed.

31.D).All of the Above.

//model is extending an Abstract class.
//view is implementing an ViewResolver Interface to renders the contents of a model
//model calls notifyObserver(view) from Observer class.


32.E).Controller detects changes to Model.


33.D).All Observers have Update (Observeble o, Object obj) run.


34.A).Any Observers receives a variable of type Object.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote