String Question 10

Home / Java Practice Question / String Question 10

String Question 10


Question 10.  Write a Program to convert lower case string into upper case.

Program


class Solution { 

    String to_upper(String str)  { 

        return str.toUpperCase();

    }