Write-a-class-called-point-for-the-2-D-environment-Java-assignment-help-
Question 1.1. (TCOs 1–8) Write a class called point
for the 2-D environment.
Select appropriate variable(s).
Write constructors.
Write access methods for the variables.
Write a Print method to display the variables when called.
Write a test program to test it. (Points : 20)
Question 2.2. (TCOs 1–8) Write a class called circle,
which inheres the above point class.
Select appropriate variable(s).
Write constructors.
Write access methods for the variables.
Override the inherited Print method to display variable in circle and point.
Write a test program to test it. (Points : 20)