Java Program:

- To convert string into UPPERCASE

Example:

User Input: hello World

Output: HELLO WORLD

import java.util.Scanner;
public class StringToUppercase{
  public static void main(String []args) {
    String s1;
    Scanner userInput = new Scanner(System.in);
    System.out.print("Enter your string : ");
    s1 = userInput.nextLine();
    
    System.out.println("Your UPPERCASE String : "+ s1.toUpperCase());
  }
}

Output:

  Enter your string : Have good day
  Your UPPERCASE string : HAVE GOOD DAY
Program
basic

You should know first :

Lowercase alphabets : Starts from a (97) to z (122)

Uppercase alphabets : Starts from A (65) to z (90)

Can use java predefined function toUpperCase()

s1.toUpperCase();

To convert them to, all lowercase
s1.toLowerCase();
Concept

Coming Soon !

Quick
Tutorial

Quote

The best preparation for good work tomorrow is to do good work today.