First step is to create a class called BodyMassIndex(BodyMassIndex.java) which will not contain a main.
The BodyMassIndex class will be very simple which will containthree private instance variables: o studentName as a String oheight as a double o weight as a double
The following public methods will have to be implemented: o Adefault constructor o A parameterised constructor o Three setmethods (mutators) o Three get methods (accessors) oderiveBodyMassIndex value returning method* o deriveRatingvaluereturning method**
*You will create a public value returning methodderiveBodyMassIndex(), the body mass index can be derived from theinstance variables height and weight. Typically we do not storecalculated values in a
PayPal Gateway not configured
PayPal Gateway not configured