toUpperchar and toLOwerChar() function

import java.io.*;
public class Test_This {
public static final int NUMBER_OF_MONTHS = 12;
public static final float PI = (float) 22 / 7;
public static void main(String[] args) throws IOException
{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String str ="", str1="";
try{
System.out.print("Please type something: ");
str = br.readLine();
str1 = str.toUpperCase();
System.out.println("Convert Uppercase: " + str1);
str1 =str.toLowerCase();
System.out.println("Convert Uppercase: " + str1);

}//try
catch(NumberFormatException e)
{ System.out.println("data was blank");}
}
}