izeryab / javatask Goto Github PK
View Code? Open in Web Editor NEWDesign and define the following class Class Virus Class Virus represents virus instances in the real world the class has two fields, as well as methods that operate on these fields.Write the code below for the Virus class. Design a class Person and a class Country as shown in a class diagram.Class Person Write a class to represent a Person in the context of COVID19 crises..Class Country Define a class called Country, which models a country with a name and a people . The Country class uses array of type Person as its people.Print the names of the infected persons of that country.