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 please help need ASAP Construct the following Class JAVA Name: Point3D.java extends

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

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!