In Java, you can use
System.out.println() statements to print data from your program. This is a simple method to know what is going on in your program, including values of variables, etc.
On a normal computer, output is “printed” to the console (ie. command prompt window). Since the roboRIO doesn't have a monitor, the console is accessed through the driver station. Below is a screenshot of how to access it.