Print Message

Question

Write a program to display a message “Welcome to object oriented programming”

Sample Output 1:

Welcome to object oriented programming.

Code :-

public class PrintMessage{
    public static void main(String args[]){
        System.out.println("Welcome to object oriented programming");
    }
}

Recommended:-

  1. Print Customer Details
  2. Print Username
  3. Bill Generation
  4. Spell Check
  5. Highest Placement

Leave a Comment

Your email address will not be published. Required fields are marked *