Hello! I was assigned to use a PolarPnt class that implements Point (interface). We have to complete methods like returning the x coordinate. I was wondering how to go about this? How do I convert from a polar point to cartesian point in
java and then output just the x coordinate? I am assuming you call the angle and the find the cos of theta and then multiply by the hypotenuse? I just have no idea how to write this in java.