Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. // DEFAULT CONSTRUCTOR
  2. // public class Point {
  3. // int x, y;
  4. // public static void main(String... argv) {
  5. // //
  6. // }
  7. // }
  8. //
  9. //
  10. public class Point {
  11. int x, y;
  12.  
  13. // here default constructor is public because the class Point is public
  14. public Point() {
  15. super();
  16. }
  17.  
  18. public static void main(String... argv) {
  19.  
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement