Converting a string to upper case or lower case is fairly easy in Java. Review the code below:

Java Code:
	String myString = "Hello World";
	System.out.println(myString.toLowerCase());
	System.out.println(myString.toUpperCase());
Output:

Java Code:
hello world
HELLO WORLD