square and point. Write a test program to test it. 3) Start from the following
4 questons check out the document 1) 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…