15 lines
269 B
Text
15 lines
269 B
Text
|
// The left-hand side of an assignment cannot be a reference to this
|
||
|
// Valid options are variable accesses, fields or an indexed array
|
||
|
|
||
|
class Main {
|
||
|
void main () {
|
||
|
int b;
|
||
|
int[] c;
|
||
|
c = new int[5];
|
||
|
this.a = 10;
|
||
|
b = 10;
|
||
|
c[4] = 10;
|
||
|
this = null;
|
||
|
}
|
||
|
int a;
|
||
|
}
|