Problem
Complete the following tasks:
a. Create a class named Tape that includes fields for length and width in inches, and create get and set methods for each field.
b. Derive two subclasses- videoCassetteTape and Adhesive Tape. The videoCassetteTape class includes a numeric field to hold playing time in minutes and get and set methods for the field. The AdhesiveTape class includes a numeric field that holds a stickiness factor-a value from 1 to 10-and get and set methods for the field.
c. Design a program that instantiates one object of each of the three classes, and demonstrate using all the methods defined for each class.