(Solved) : Instructions Lab Test Knowledge Inheritance Java 1 Using Netbeans Preferred Ide Create Cla Q44025249 . . .

Instructions: This lab will test your knowledge of inheritance in Java 1. Using Netbeans (or your preferred IDE), create a class called Shape using the following guide: public class Shape { private String name; public Shape(String name) { this.name = name; /** returns the name of the shape */ public String getName() { return name; /** returns the area of the shape */ public double getArea() { return 0.0; public void printDimensions({ System.out.println(“No dimensions”); 2. Create 4 additional classes as follows: Shape Square Circle Triangle Equilateral Triangle Show transcribed image text Instructions: This lab will test your knowledge of inheritance in Java 1. Using Netbeans (or your preferred IDE), create a class called Shape using the following guide: public class Shape { private String name; public Shape(String name) { this.name = name; /** returns the name of the shape */ public String getName() { return name; /** returns the area of the shape */ public double getArea() { return 0.0; public void printDimensions({ System.out.println(“No dimensions”); 2. Create 4 additional classes as follows: Shape Square Circle Triangle Equilateral Triangle
Expert Answer
Answer to Instructions: This lab will test your knowledge of inheritance in Java 1. Using Netbeans (or your preferred IDE), create…
OR