Question: Exercise 1 - Composition ( 5 Marks ) Create two classes according to the given UML diagram ( more description of the two classes is
Exercise Composition Marks
Create two classes according to the given UML diagram more description of the two classes is in Lecture
tableNumberDisplayvalue: intlimit: intNumberDisplayintgetValue: intsetValueint: voidgetDisplayValue: Stringincrement: voidTest your classes, create the test class and write the main method as follows:Deliverables For EX:NumberDisplay.java, ClockDisplay.java and a Tester class
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
