Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // DEFAULT CONSTRUCTOR
- // public class Point {
- // int x, y;
- // public static void main(String... argv) {
- // //
- // }
- // }
- //
- //
- public class Point {
- int x, y;
- // here default constructor is public because the class Point is public
- public Point() {
- super();
- }
- public static void main(String... argv) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement