13 lines
137 B
Text
13 lines
137 B
Text
|
// Test downcast from array to Object
|
||
|
|
||
|
class Main {
|
||
|
void main() {
|
||
|
int[] x;
|
||
|
Object o;
|
||
|
|
||
|
x = new int[5];
|
||
|
|
||
|
o = (Object) x;
|
||
|
}
|
||
|
}
|