// Simple example of comments
class Comments
{
// Your program begins with a call to main().
// this is single line commentpublic static void main( String args[ ] )
{
System.out.println("Java Programming Examples");/*
This is multiline comment
with multiple lines
*/
}
}
Output:Java Programming Examples