Hi,
i have couple questions for this program.(i got this code from
JAVA 2)
// Char
class Char {
public static void main (
String args[]) {
char ch;
ch = 'X';
System.out.println ("ch contains " + ch);
ch++;
System.out.println ("ch is now " + ch);
ch = 90;
System.out.println ("ch is now " + ch);
}
}
1. on the ' public static void main (String args[])', but i looked another book 'Thinking in JAVA by Bruce Eckel' and he wrote '(String[] args)'. what's the different?
2. on this output 'ch is now z' not 90 because from ASCII. can you tell me where i can find this document?
thank you for your help.
yuan