uppose you have a pre-existing class Dieter that models a person
trying to monitor diet and weight to improve his/her Body Mass
Index (BMI) rating. The class has the following data and
behavior:
Field/Constructor/Method
Description
private String name
the dieter's full name, such as "John Smith"
private int height
the dieter's height, in inches
private int weight
the dieter's weight, in pounds
public Dieter(String name, int h, int w)
makes a dieter with given name, height, weight
public String getName()...