5 lines
195 B
Plaintext
5 lines
195 B
Plaintext
NonStaticFieldExpr2.java:14: non-static variable x cannot be referenced from a static context
|
|
int z = NonStaticFieldExpr2.x; // SHOULD BE ERROR
|
|
^
|
|
1 error
|