Java program,
Add comments where possible please.
1)
a) My code
class Rectangle {
private double width;private double height;
//Initializing the height, width property values with 1.0 inthe default constructorpublic Rectangle() {width = 1.0;height = 1.0;}//Assigning the height, width property values with giveninputs in the parameterized constructorpublic Rectangle(double w, double h) {width = w;height = h;}//This method used to get the width property valuepublic double getWidth() {return width;}//This method used to get the height property valuepublic double getHeight() {return height;}//This method calculates the area of the rectangle using thispropety values and returns the resultpublic double getArea() {return width * height;}//This method calculates the perimeter of the
PayPal Gateway not configured
PayPal Gateway not configured