To see the difference between: 0 and '0' use a cast on the char value when you print it:
System.out.println("'0'="+(int)'0');
Also look at a table of ASCII character values.
As pbrockway2 said,...
Type: Posts; User: Norm
To see the difference between: 0 and '0' use a cast on the char value when you print it:
System.out.println("'0'="+(int)'0');
Also look at a table of ASCII character values.
As pbrockway2 said,...