Ok guys finally got it down to this last bit, all i need is for my Point class to read the p1 and p2, it comes up with "cant be resolved. Any fixes?
import java.util.*;
import java.math.*; ...
Type: Posts; User: Lashickk
Ok guys finally got it down to this last bit, all i need is for my Point class to read the p1 and p2, it comes up with "cant be resolved. Any fixes?
import java.util.*;
import java.math.*; ...
Ok so I fixed most of the errors , the only problem now is that it cant read "p1 or p2" form my main.
---"p1 cannot be resolved, p2 cannot be resolved. in distance(double, double)
import...
So I am trying to create a program that gives the distances between two points that can be inputted by the user. And here has to be a default constructor to set x and y values to 0. Any help to set...