September 10th, 2013, 06:35 AM
Creating Classes With Java
Hey guys i'm working on my own little java program and i was wondering about classes and how i would go about creating one. For the program i'm creating i will need,
Define a Employee class which includes the instance variables employeeNumber (a String), employeeTitle (a String), employeeName (a String), employeeRole (a String) and payScaleLevel (a char).
Implement a constructor for the Employee class which accepts the employee Number, employee title, employee name, employee role and pay scale level for the new Employee as parameters and stores the supplied information in the corresponding instance variables.
How would i go about doing this? Cheers.
September 10th, 2013, 08:04 AM