2 Person Class 5 marks Complete the provided Person class Ad

2: Person Class [5 marks Complete the provided Person class Add appropriate getter and setter methods. Complete the interact (Person) method Peraon When a person transmits a disease to another person, a new copy of the same disease should be transmitted (same name, severity, chance of transmission). Make sure that you create a new Disease object. (why?)

Solution

Please find the required class along with comments, which describes the step what it is doing :

 2: Person Class [5 marks Complete the provided Person class Add appropriate getter and setter methods. Complete the interact (Person) method Peraon When a pers

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site