I'm not familiar with the Keyboard class, it's not in the Java SE API.

For reading in input from the keyboard, there are three main ways (and several variations/strange ways):

1. The Scanner...