Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
19 lines
No EOL
418 B
Java
19 lines
No EOL
418 B
Java
///usr/bin/env jbang "$0" "$@" ; exit $?
|
|
// /nodynamiccopyright/
|
|
|
|
/** A class comment */
|
|
public class JBangException1 {
|
|
|
|
/**
|
|
* 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]);
|
|
}
|
|
}
|
|
} |