Question: Java simple as possible, please 1. Create a shape abstract class with the following methods and instance variables: Instance Variables for: length, width, height o

 Java simple as possible, please 1. Create a shape abstract class

Java

simple as possible, please

1. Create a shape abstract class with the following methods and instance variables: Instance Variables for: length, width, height o Default constructor and a constructor that takes in all instance variables o public double getLength() o public double getWidth() o public double getHeight() o public doublesurfaceAreal) Should update when the length or width is changed public double volumel) Should update when the length or width is changed o public String toString() Should print all instance variables in text form! 2. Create 2 classes that use the Shape abstract class o Some suggestions: Square, Rectangular Prism, Cylinder, Circle, Cone o Must have one additional unique instance variable . Must have one additional unique method o

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!