EasyExamNotes.com
  • Home
  • Subject Chart
  • Video Lectures
  • RGPV Solved
  • UGC NET
  • GATE CSIT 2021

Java program to display message

Java program
PROGRAM:

To display a message


public class PrintSentence {

            public static void main(String args[])
            {
                        System.out.println(“Welcome to Java”);
            }
           
}


OUTPUT:


Welcome to Java

Java Programs

  • Java Scanner progam
  • Java program to display message
  • Java program use of Scanner class, nextInt()
  • Java program use of If Else
  • Java Nested Method
  • Java program use of Switch case, break statement
  • Java Program to use Nested Switch case
  • Java program to enter marks
  • Java program to enter marks, calculate sum, percentage, division etc.
  • Java program While loop, input.nextInt()
  • Java program arithmetic operators
  • Java program main function with object
  • Java program method overloaing
  • Java program to show use of If, For, Scanner
  • Java program type casting
  • Java program use of continue
  • Java program use of String
  • Java program File handling create operation
  • Javaprogram Graphic Applets
  • Java program Applet image display
  • Java program Applet digital clock
  • Java program Applet mouse event handling

JAVA

  • JAVA and its Support Systems
  • JAVA environment
  • JAVA program structure
  • Tokens
  • Java statements
  • Java virtual machine
  • C++ Versus JAVA
  • Constants and Variables in Java
  • Data types JAVA
  • Constructor in JAVA
  • Array in Java
  • Applet
  • Applets Vs Applications
  • Writing applets
  • Applets life cycle
  • Applet digital clock
  • Creating an Executable Applet
  • Graphics in Applet
  • Applet image display
  • Applet mouse event handling
  • JDBC
  • Establish Database Connection
  • Execute an SQL Statement
  • Defining a class
  • Process the result
  • CLOSE THE DATABASE CONNECTION
  • File handling

Please Subscribe

EasyExamNotes.com © 2022