Convert All Letters To Upper Case - Java Quiz Question


Write a program to convert all letters in a string to upper case

Input Output
Hello World HELLO WORLD
University UNIVERSITY
champion CHAMPION



class ConvertToUpperCase
{
    public static void main(String s[])
    {
        String inputString = "Hello World";
        String outputString = convertToUpperCase(inputString);
        System.out.println("The string is " + outputString);    

    }


    public static String convertToUpperCase(String givenString)
    {
    }  

}