Originally posted by Hima Nadi: leagal anmes for variables 1)-int 2)%large 3)$fred 4)Integer 5)2much my ans is 1,3 is 4 also leagel any help?
Your answer is incorrect. 3 and 4 are the correct answers. Variables may start with _ $ or alpha. Numerics may appear later in the variable name. Integer is a correct variable name as it is not a reserved word. What study text are you using? All this should be covered there. . .
SCJP, SCJD, SCWCD, SCEA Part I
Joined: Apr 08, 2002
Sorry to trouble you Jim, Somehow I got a wrong impression that Integer, Character.. Are should not be used as variable names. Now I am clear. Thanks for help