22 lines
428 B
Java
22 lines
428 B
Java
|
/// A
|
||
|
/// multiline
|
||
|
/// dangling
|
||
|
/// comment
|
||
|
// /nodynamiccopyright/
|
||
|
|
||
|
/** A class comment */
|
||
|
public class JBangException3 {
|
||
|
|
||
|
/**
|
||
|
* A method comment
|
||
|
*
|
||
|
* @param args a parameter comment
|
||
|
*/
|
||
|
public static void main(String[] args) {
|
||
|
if (args.length == 0) {
|
||
|
System.out.println("Hello World!");
|
||
|
} else {
|
||
|
System.out.println("Hello " + args[0]);
|
||
|
}
|
||
|
}
|
||
|
}
|