Calculating distance between two points in 3D
问题 My assignment is to create main class in which I initialize the value of any point to be at (0,0,0) and to be able to access and mutate all three values (x,y,z) individually. To do this I have used getters and setters. My next task is to create a method within my main class (which I shall call "distanceTo") that calculates the distance between two points. How do I go about creating the method " distanceTo " that calculates the distance between two points by taking in the x,y,z coordinates ? I