Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Java program to display message

PROGRAM:

To display a message


public class PrintSentence {

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


OUTPUT:


Welcome to Java