I am currently doing chapter 5 of the Greenfoot Book, and learning about arrays currently.
When I do the following code:
The following error appears:
illegal start of expression
But if I do this:
It compiles fine. Could someone help?
1 2 | String[] whiteKeys; whiteKeys = { "a" , "s" , "d" , "f" , "g" , "h" , "j" , "k" , "l" , ";" }; |
1 | String[] whiteKeys = { "a" , "s" , "d" , "f" , "g" , "h" , "j" , "k" , "l" , ";" }; |