Reading an Abstract Employee Class Diagram with Two Inheriting Subclasses

Company: Zomato Eternal_10oct

Difficulty: medium

Problem Statement

Question 1

Observe the following class diagram and state which of the following statements are true regarding it. The diagram shows a class `Employee` whose name and whose operation are written in italics, with the members `+ salary: int` and `+ calcSalary(): double`. Two classes inherit from it via hollow triangle generalization arrows: - `HourlyEmployee` with `+ hourlyRate: double`, `+ totalHours: double`,