environment. Select appropriate variable(s). Write constructors. Write access methods for the variables. Write a Print

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 i 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