What is a driver class?
Well, do you know what thetwo terms mean independent of each other? What a computer driver is in general and what a software class is?
I'm not sure, just what it is in general would help. I don't understand this problem set.
A driver is a program that takes the abstract operating system calls and turns them into the specific device calls for a piece of hardware: http://en.wikipedia.org/wiki/Device_driver In Java, a class file is complied version of a bit of Java code. http://en.wikipedia.org/wiki/Java_class_file Now, lets take the ideas together. Something that connects the abstract to the specific and is a compied bit of Java code. Hmm... In Java, the Java Virtual Machine, or JVM, does all the abstract stuff. So, the driver class is something the JVM interacts with as it runs the code. That is in general. In specific, look for things on the Entry Point and the Main Class of a program.
Oh, and one other concept is lets say you have 5 or so Java files that compaile into a program. They make the same number fo Class files as there were java files. However, usually uoi will only have one that is the "driver class" for the entire program.
Join our real-time social learning platform and learn together with your friends!