/* This is a
multiline comment. */
// This is a single-line comment.
/** This is a
multiline javadoc comment */
The first comment style supports traditional C-language comments.
The second comment style supports single line C++ comments.
The third comment style is used by the javadoc documentation generation tool.
/*
File header
*/
publicclass MainClass{
/**
This is a method
*/
publicstaticvoid main(String[] argv){
// output
System.out.println();
}
}