Abstractly, we can think of the MemoPad design being separated into two parts: the “Model” - the representation of the part of the world we want to model the “View” - the user’s window into the model View1. What advantage does using an interface have over just declaring? public class MemoPad extends CloseableFrame { private DefaultMemoDatabase database;Group #:_________ Name:________________Absent: 1/12/061Model Interface database HashtableAccessor methods to get stateControl methods2. For the lundar lander simulator, a. What objects can you identify?b. What behaviors must these objects perform?Group #:_________ Name:________________Absent: 1/12/062View3. What would the interface for the between the Lunar Lander model and view contain?Group #:_________ Name:________________Absent: 1/12/063Model InterfaceVelocity FuelAltitudegSafeLandingVel48258201.65.025ThrustsCountAccessor methods to get stateControl
View Full Document