abstract class Application {
+abstract void start(Stage)
}
class MemoryApp {
+void start(Stage)
}
class Memory<Integer> {
+Integer nextItem()
+acceptItem(Integer)
}
class Text {
+setText(String)
}
class TextField {
+getText()
}
Application <|- MemoryApp
MemoryApp --> Memory: memory
MemoryApp --> Text: systemOutput
MemoryApp --> TextField: userInput |