Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

Class Header and Setup a Driver For it

 
jason tourne
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Report post to moderator
I need to fill in the following blanks to create a class header for the class Teacher. Also I need to code the main method to turn Teacher into a driver class.

____ _____ ____{

____ ____ _____ ____(String{}

____){

}
}

What I think I got so far is that the first three lines should be public class Teacher, but don't know the rest.
 
Paul Clapham
Sheriff
Pie
Posts: 20758
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
Yes, that's right. As for the rest... what's a "driver" class?
 
jason tourne
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Report post to moderator
its just a class that contains a main
 
Matthew Brown
Bartender
Posts: 4565
8
  • Mark post as helpful
  • send pies
  • Report post to moderator
Again, please don't post the same message multiple times. I'm locking this one - discussion can continue on the original thread.
 
    Bookmark Topic Watch Topic
  • New Topic