class Message
{
    public static void main(String a[])
    {
     System.out.println("This is JAVA Println");
    }
}
 

 

OR

class Message
{
   static public void main(String a[]) //Used static public
    {
     System.out.println("This is JAVA Println");
    }
}

 OUTPUT:

This is JAVA Println