Computer Science, asked by prasannakumars031, 11 months ago

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 jayak5063
39

Answer:

generalization is the relationship between those classes

Answered by mindfulmaisel
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