Answers for ".toUppercase java"

0

uppercase java

string s="hello";
s = Character.toUpperCase(s.charAt(0)) + s.substring(1);
The output will be: Hello
Posted by: Guest on March-09-2020
0

upper en java

public class Guru99 {   
    public static void main(String args[]) {       
        String S1 = new String("minúsculas convertidas en mayúsculas");       
 
        // Convertir a UpperCase    
        System.out.println(S1.toUpperCase());   
    }
}
Posted by: Guest on September-28-2020
0

String toUpperCase() method in java

public class StringToUppercaseDemo
{
   public static void main(String[] args)
   {
      String str = "flower brackets";
      String strUpper = str.toUpperCase();
      System.out.println(strUpper);
   }
}
Posted by: Guest on December-08-2020
0

uppercase string java

String var_name = "Jerry";
System.out.println(var_name.toUpperCase()); //JERRY
Posted by: Guest on August-26-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language