es urgente que me ayuden por favor
necesito hacer un program que requiere esto
write a class named rectangle that extends shape. add two int fields for the width and heigth of the rectangle, and add a constructor with two int parameters that are used to initiaze these fields. use encapsulation to ensure that the value of width and height are between 1 and 15 .
write a class named rectangle that extends shape. add two int fields for the width and heigth of the rectangle, and add a constructor with two int parameters that are used to initiaze these fields. use encapsulation to ensure that the value of width and height are between 1 and 15 .