char problem
good day,
I have a problem with this code
import java.lang.Character;
public class CharTest
{
public static void main(String args[])
{
char c1='s';
char c2='S';
char c3=' ';
c3 = toUpperCase(c1);
System.out.println("c1 "+c3);
}
}
all i wanted to do is to convert c1 to upper case, how can i do it?
tnx
|