Question: 1. Write two java programs (a class template and a class to test the template) as the entities in the UML diagram shown below.
1. Write two java programs (a class template and a class to test the template) as the entities in the UML diagram shown below. Class Person unique_id Vidvan name Data age Members city gender eat() study() Methods TechVidvan sleep() play() name- John age-35 city-Delhi gender- male name-Dessy age-20 city-Pune gender- female
Step by Step Solution
There are 3 Steps involved in it
Answer If you have any problem with the code feel free to comment Program class Person instance vari... View full answer
Get step-by-step solutions from verified subject matter experts
