Question: Using Java, Write a code that reads an integer n, followed by the coordinates of each of n points that are the vertices of a n-sided polygon. Plot the vertices and the lines that make up the polygon.
Can you plat the plot the vertices and the lines that make up the polygon in java?