8000 GitHub - tsabz/inhertance · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Implementing a Superclass Employee

inhertance

Part 1: Implement a superclass Employee that has the following fields and methods.

Fields:

string firstName string lastName int employeeID double salary Methods:

constructor method - initialize salary field to zero. setters and getters for firstName, lastName, and employeeID employeeSummary method - prints all account attributes

Part 2: Implement a Manager class that inherits from the Employee class.

Fields:

string department a Methods:

employeeSummary method - prints all superclass and subclass attributes Ensure that your program has the two required classes and a test class.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0