Your code must compile using the jgrasp ide if your code


You are working to create an application for helping people reach their ideal body weight. Create a data definition class to model one person. The person will have a name, current weight, and ideal weight. When creating a new person, the ideal weight must be specified and set. Instance methods include: accessors for each instance variable, non-validating mutators for each non-numeric instance variable, validating mutators for each numeric instance variable, and a special purpose method called isInShape. The isInShape method does not accept any parameters and returns a value to indicate if the person is in-shape or not. An in-shape person is someone whose current weight is at or under his/her ideal weight.

Note: A person's ideal weight cannot be more than 200.0 lbs or less than 120.0 lbs.

Remember you are modeling ONE person only!

You do not need to create an implementation class.

Your code must compile using the jGrasp IDE. If your code does not compile using jGrasp (for any reason), a grade of 0 will be earned. No exceptions!

Upload your completed Person.java file.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Your code must compile using the jgrasp ide if your code
Reference No:- TGS01279438

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)