Question: please help need ASAP Construct the following Class JAVA Name: Point3D.java extends Point2D (1 point)Instance Variables: int z ( 3 points each) Constructors: Be sure
please help need ASAP Construct the following Class
JAVA 
Name: Point3D.java extends Point2D (1 point)Instance Variables: int z ( 3 points each) Constructors: Be sure to use a super call Point2D() Point2D(int x, int y, int z ) (3 points)Accessor Methods: getZ() returns int (3 points)Mutator methods: set(0) (3 points)toString() method: Be sure to use a super call Returns the String: "( (x,y,z) " (3 points)compare(Object otherObj) methods: Checks to see if the x,y, and z coordinates are equal, if they
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
