Write a class called phone that contains instance data that


Question: Write a class called Phone that contains instance data that represents the make, model, and year of the phone. Define the Phone constructor to initialize these values. Include getter and setter methods for all instance data, and a toString method that returns a one-line description of the phone. Add a method called isObsolete that returns a boolean indicating if the phone is obsolete (if it is more than 10 years old). Create a driver class called PhoneCheck, whose main method instantiates and updates several Phone objects.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a class called phone that contains instance data that
Reference No:- TGS02318568

Expected delivery within 24 Hours