Question: Convert the following UML diagram into the java code. Write constructor for the given class. Create an instance of the class in a main method
Convert the following UML diagram into the java code. Write constructor for the given class. Create an instance of the class in a main method using a demo class.
| Questions |
| -question id -text -answers |
| +getters & setters() +createQuestion() +updateQuestion() +archieveQuestion() +addAnswer() +removeAnswer |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
