Mon 3/27
Abstract classes, interfaces, inheritance
Tue 3/28
Programming project - p. 449 7.2
Make Employee abstract
Attributes (data members)
• name, id
Behaviors (methods)
• constructors
• get, set, toString
• abstract method --> work
Individual Employees extend Employee
• constructors use super
• override the work method
• override the toString method, but use
• super (see p. 398) output name and job
• create a few extra methods in extended classes
• e.g. Administrator has a department, get and set it
• Nurse has a number of patients
• main should have objects of each class as well as
• array of Employee(s)
Abstract classes, interfaces, inheritance
Tue 3/28
Programming project - p. 449 7.2
Make Employee abstract
Attributes (data members)
• name, id
Behaviors (methods)
• constructors
• get, set, toString
• abstract method --> work
Individual Employees extend Employee
• constructors use super
• override the work method
• override the toString method, but use
• super (see p. 398) output name and job
• create a few extra methods in extended classes
• e.g. Administrator has a department, get and set it
• Nurse has a number of patients
• main should have objects of each class as well as
• array of Employee(s)

1 Comments:
Get any Desired College Degree, In less then 2 weeks.
Call this number now 24 hours a day 7 days a week (413) 208-3069
Get these Degrees NOW!!!
"BA", "BSc", "MA", "MSc", "MBA", "PHD",
Get everything within 2 weeks.
100% verifiable, this is a real deal
Act now you owe it to your future.
(413) 208-3069 call now 24 hours a day, 7 days a week.
By
joeybenson37381613, at 4:30 PM
Post a Comment
<< Home