DisallowedConstructors.invalid.mj 188 Bytes
Newer Older
Schaback's avatar
Schaback committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Constructors are not allowed.
// Alternatively, methods needs to have a return type. */

class Foo {
	public Foo() {

	}
}

class Main {
	public static void main(String[] args) {

	}
}