sorry for late reply. I don't do anything related to programming during weekends
the reason is you don't have main method in your class.
public static void main(String[] var) is a special method in...
Type: Posts; User: dicdic
sorry for late reply. I don't do anything related to programming during weekends
the reason is you don't have main method in your class.
public static void main(String[] var) is a special method in...
you declared the class Point with uppercase P
java is a case sensitive programming language.
then it should be final Point center not final point center.
because you made it final. just...
you already have created your own/customized Point class. So why do you have to import java.awt.Point?
Circle class:
You need to provide getters for Point and radius in your Circle class.
I...
Okay I get it now. So the x and y are the coordinates.
I think the requirement wants you to override the toString method of Object
If you are using netbeans or eclipse, just press Ctrl +...
what do you mean by that?
do you need to know where exactly the center of circle located?
if that's the case, then, should your circle be in cartesian plane?
then your circle would have...