Question: Easy Java Question 14) Write an equals method for Person. Two people aro equal if they have the same name and address. 15) Write an
14) Write an equals method for Person. Two people aro equal if they have the same name and address. 15) Write an abstract method for Person called greet. ft receives one parameter of type Persen ("other"). and it doesn't return any value. 16) Write a method for Person called isinAny. It receives an array of String as parameter, which contains many addresses, and returns a boolean indicating if the person is in any of the addresses (based on the person's current address). The loop in your solution must ferminate as soon as it finds a mateh or traverees 17) Write a getter and a setter in Person for the name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
