Introduction to OOP: Chapter 11: Replacement and Refinement [next] [previous] [audio] [real] [text]

Methods have no indication in Object Pascal

function Employee.hourlyWorker : boolean;
begin
	return true;
end;

function SalaryEmployee.hourlyWorker : boolean;
begin
	return false;
end;
Intro OOP, Chapter 11, Slide 13