There are 3 methods to print:

  • System.out.print() - prints a string only
  • System.out.printf() - formatted print. allows different datatypes
    • System.out.printf(“%d%f”,78,89.45f)
  • System.out.println() - allows string concatenation with integers and prints them out. also adds a \n linebreak