my dog learned polymorphism
The moose likes Beginning Java and the fly likes question about driver class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "question about driver class" Watch "question about driver class" New topic

question about driver class

Monic Sherm

Joined: Sep 30, 2005
Posts: 13
I have seen the term "driver class". I did a search and could not seem to find a definition. Is this the same as the main program? If not could someone tell me what it is.

thanks in advance
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

It can mean a main program, yes. Often, though, it implies a demonstration program, one that shows how to exercise some class or library without really doing anything useful itself.

[Jess in Action][AskingGoodQuestions]
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Or it can be the main class of a specific implementation for a generic API, such as a JDBC driver class.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: question about driver class
jQuery in Action, 3rd edition