Hi, I just started Java (But I do have 1.5 years in c++) and I found that string switchs aren't allowed, so I tried using a character array, now when I try to define the array, it says that char [10 for example]array;
is not allowed because of [10 for example]. (in eclipse, the red squiggle appears)
This is the problem source:
public char[10] name;//this is the problem