1. Add a data field to the class Person to represent a person’s address. What new methods should you define for Person? What existing methods, if any, need to be changed in the class Person as a...


1. Add a data field to the class Person to represent a person’s address. What new methods should you define for Person? What existing methods, if any, need to be changed in the class Person as a result of the additional field?


2. a. When should a data field be static?


b. When should a method be static?


c. What is the difference between a static method and one that is not static?



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here