java print string and variable code example Example: print out value java System.out.println('value')