Add a main() method to the class where you want execution to start when you execute the java command and reference the class: java YourClassName
where YourClassName is the name of the class that...