posted 22 years ago
The code :
When executed gets the following error:
Array constants can only be used in initializers.
print( {new Object(),new Object(),new Object()},
Array constants can only be used in initializers.
{"A1","A2","A3","A4"}
Am iam not using an initializer.JLS has the following statement
Pls. help..
Thanks
Bindesh Vijayan