One thing that I can think of. If you declare a constructor with parameters (and overloaded constructor,) like you did above, you also need to declare the default constructor (with no parameters.)
public Salary() {
// Default init process
}
If not then your compiler will complain.
jerbo
Junior Poster in Training
84 posts since Sep 2004
Reputation Points: 11
Solved Threads: 1