In java please.
//Given the following class declaration, write a parameterizedconstructor that takes two int arguments named initHeight andinitWidth, and uses these arguments to initialize the privatevariables. // Do not add or change any other code. class Rectangle{ private int height; private int width; public int area() { returnthis.height * this.width; } }
Expert Answer
An answer will be send to you shortly. . . . .