Snippet 1
// a method for computing the area of the rectangle
public int getArea() {
return width * height;
}
Copyright © Code Fetcher 2020
Snippet 1
// a method for computing the area of the rectangle
public int getArea() {
return width * height;
}
Copyright © Code Fetcher 2020