char aChar;
System.out.println("enter a char");
aChar = (char)System.in.read();
System.in.read(); System.in.read(); //absorbs enter key.
System.out.println(aChar);
if(Character.isLowerCase(aChar));
Character.toUpperCase(aChar);
System.out.println(aChar);
how should I fix this so it will turn the lowercase into an uppercase?

New Topic/Question
Reply


MultiQuote





|