What is a “driver class”?

A “Driver class” is often just the class that contains a main. In a real project, you may often have numerous “Driver classes” for testing and whatnot, or you can build a main into any of your objects and select the runnable class through your IDE, or by simply specifying “java classname.”

Leave a Comment