A method used for displaying output on the console. It takes input parameters (if necessary) and performs certain actions such as printing text or performing calculations.
Related terms
println(): Similar to "print()", but adds a new line after displaying output.
printf(): A method used for formatted output, where you can specify the format and position of variables within a string.
nextLine(): A method used to read input from the console as a whole line of text.