mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
19 lines
249 B
Plaintext
19 lines
249 B
Plaintext
class Main {
|
|
void test() {
|
|
System.out.println("[" + 1 + ", " + 2 + "]");
|
|
}
|
|
}
|
|
|
|
class Point {
|
|
private int x, y;
|
|
|
|
public Point(int _x, int _y) {
|
|
x = _x;
|
|
y = _y;
|
|
}
|
|
|
|
public String toString() {
|
|
return "["+x+", "+y+"]";
|
|
}
|
|
}
|