Running the example prints the word "JAVA" on the 7-segment display.