Consider the following method which makes use of the shapes.rectangle class. public static void stretch(rectangle rr.getlength(2 * r.getlength()); .println(r.getlength()); }
a) Doubles the width of the rectangle.
b) Doubles the length of the rectangle.
c) Calculates the area of the rectangle.
d) Prints the perimeter of the rectangle.