public static void main(String[] args) // main method
{
System.out.println( "Gershwin, George" ); // display value
}
}
Output:
Gershwin, George
Explanation:
Following is the description of Statement:
In this, we using the System.out.println() to print the value in the console window. The System.out.println() is used in java is used to print the data in the console.
In this, we pass the "Gershwin ,George" string in the double quotes along with a comma between them.