Void is the Java keyword that tells the compiler that a function will not be returning any value after it is executed. Return is the Java keyword that tells the compiler what will be returned when a function is finished. For instance, you make two functions, square() and calcSquare(), which both calculate the square of a number.