Implement CLI application by editing App.java You may add new files to keep your code clean, if it is allowed in your challenge.
You can get arguments as args
in main
method.
public static void main(String[] args) {
// code to run
}
You can use Sytem.out.println
method to output you result in stdout.
System.out.println(args);
If you want to use external libraries, do the following:
- Add dependencies settings in pom.xml