I am confused. What is the Character Class as defined on the Sun website.
It looks like there is a character method toString()
This looks exactly like the string method length.
Therefore if
int sampleLength = args[0].length()
works, then
char c = args[0].charAt(0) ;
String sample = c.toString() :
should also work considering that the syntax for each method is exactly the same.
If Char is a primitive type, what is the Class Character and what is the difference.
Thanks