The assingment is to create three instances of the Point class. Then to print out the x and y values of each instance using the getX() and getY() accessor methods. Make sure to label (x or y as appropriate) and displaying each value to two decimal places.
I need help in javascript understanding what instances and what these words mean because as soon as I read these words my head goes blank.
The assingment is to create three instances of the Point class.
Then to print out the x and y values of each instance using the getX() and getY() accessor methods. Make sure to label (x or y as appropriate) and displaying each value to two decimal places.
anything helps at this moment!

HTML
1- For the HTML coding, define HTML tags, and inside HTML tags, define body tags.
2- Inside body tags, define three paragraph tags and give an id to each tag. Each paragraph will display the value of one instance of x and y variables.
3- The java script coding is written inside script tags which are placed inside body tags.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 1 images









