0_0_25538516_11936.cpp:35:2: error: stray '@' in program
@Override
^
0_0_25538516_11936.cpp:44:2: error: stray '@' in program
@Override
^
0_0_25538516_11936.cpp:1:1: error: 'import' does not name a type
import java.util.HashSet;
^
0_0_25538516_11936.cpp:2:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_25538516_11936.cpp:3:1: error: 'import' does not name a type
import java.util.Set;
^
0_0_25538516_11936.cpp:6:10: error: expected ':' before 'int'
private int x;
^
0_0_25538516_11936.cpp:7:10: error: expected ':' before 'int'
private int y;
^
0_0_25538516_11936.cpp:9:9: error: expected ':' before 'int'
public int getX() {
^
0_0_25538516_11936.cpp:13:9: error: expected ':' before 'void'
public void setX(int x) {
^
0_0_25538516_11936.cpp:17:9: error: expected ':' before 'int'
public int getY() {
^
0_0_25538516_11936.cpp:21:9: error: expected ':' before 'void'
public void setY(int y) {
^
0_0_25538516_11936.cpp:25:9: error: expected ':' before 'Point'
public Point() {
^
0_0_25538516_11936.cpp:29:9: error: expected ':' before 'Point'
public Point(int x, int y) {
^
0_0_25538516_11936.cpp:35:3: error: 'Override' does not name a type
@Override
^
0_0_25538516_11936.cpp:44:3: error: 'Override' does not name a type
@Override
^
0_0_25538516_11936.cpp: In member function 'void Point::setX(int)':
0_0_25538516_11936.cpp:14:8: error: request for member 'x' in '(Point*)this', which is of pointer type 'Point*' (maybe you meant to use '->' ?)
this.x = x;
^
0_0_25538516_11936.cpp: In member function 'void Point::setY(int)':
0_0_25538516_11936.cpp:22:8: error: request for member 'y' in '(Point*)this', which is of pointer type 'Point*' (maybe you meant to use '->' ?)
this.y = y;
^
0_0_25538516_11936.cpp: In constructor 'Point::Point()':
0_0_25538516_11936.cpp:26:9: error: 'super' was not declared in this scope
super();
^
0_0_25538516_11936.cpp: In constructor 'Point::Point(int, int)':
0_0_25538516_11936.cpp:30:9: error: 'super' was not declared in this scope
super();
^
0_0_25538516_11936.cpp:31:8: error: request for member 'x' in '(Point*)this', which is of pointer type 'Point*' (maybe you meant to use '->' ?)
this.x = x;
^
0_0_25538516_11936.cpp:32:8: error: request for member 'y' in '(Point*)this', which is of pointer type 'Point*' (maybe you meant to use '->' ?)
this.y = y;
^
0_0_25538516_11936.cpp: At global scope:
0_0_25538516_11936.cpp:62:1: error: expected initializer before 'public'
public class Main {
^
|