Hades, Jennifer is quite right. Please take some time to read Valentin's recently posted suggestions about making good use of this forum. Thanks, Junilu
(a) and (c) represent valid character literals. (b) "cafe" is obviously a String Literal (d) and (e) do not conform to the following:- UnicodeInputCharacter: UnicodeEscape RawInputCharacter UnicodeEscape: \ UnicodeMarker HexDigit HexDigit HexDigit HexDigit UnicodeMarker: u UnicodeMarker u RawInputCharacter: any Unicode character HexDigit: one of 0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F
Have a look at the JLS for more info.
Hades Pan
Ranch Hand
Joined: Nov 25, 2001
Posts: 106
posted
0
I don't think so it is nonsense on forum Which the correct way to declear char ??? [This message has been edited by Hades Pan (edited December 01, 2001).]
Hades Pan
Ranch Hand
Joined: Nov 25, 2001
Posts: 106
posted
0
Thanks for Rosie Nelson so detailed explans for me !
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
Originally posted by Hades Pan: Which the correct way to declear char