Question: IN PSEUDOCODE for JAVA Define the following classes 3) Rectangle a) Must have 2 private attributes height and width. Both of which should be of
IN PSEUDOCODE for JAVA
Define the following classes

3) Rectangle a) Must have 2 private attributes height and width. Both of which should be of type double. b) Must have a constructor which takes in 2 parameters and sets the 2 attributes of the class c) Must have a method called perimeter which takes no parameters and returns a double. The perimeter of a rectangle is calculated by adding 2*height + 2*width d) Must have a method called area which takes no parameters and returns a double. The area of a rectangle is calculated by multiplying the height by the width
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
