This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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
Posts: 21416
33
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: 4568
9
  • 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