Printing to screen/debugging
System.out.println("Hello, World");
print output of method
System.out.println(method(1));
print output of variables
System.out.println(a);
Intellij shortcuts
sout
soutv
Numeric Promotion
main method
command line arguments
Turn project to maven in intellij
right click on project name, top level folder. Select 'add framework support', select maven.
Last updated