Permanent Employee is an
Employee
What is the relationship between
these classes?
Select one:
a. Generalization
b. Encapsulation
c. Aggregation
d. Modularity
Answers
Answered by
39
Answer:
generalization is the relationship between those classes
Answered by
1
a. Generalization
Classes:
A class is a type of user-defined data that we can use in our system, and it acts as an object builder, or "plan" for creating things.
In creating a company management application, you could define a superclass called a two-tier job, PermanentEmployee and TempEmployee. Because all work must be permanent or temporary, Employee is a regular class that defines features common to all employees.
Similar questions