Pakistan's universities (LUMS, NUST, UET) build Student Management Systems using OOP. A base class `Person` has attributes Name, CNIC, Email and methods GetName(), SetEmail(). Two subclasses inherit from Person: `Student` adds RegNumber, CGPA, Semester and methods Enroll(), CheckFees(); `Faculty` adds EmployeeID, Department, Designation and methods TeachCourse(), SubmitGrades(). This is textbook inheritance — code for Person is written once and reused in both Student and Faculty. The `Speak()` equivalent would be `GenerateReport()` — a faculty generates a teaching report, a student generates a transcript — polymorphism. NADRA's ID system uses classes for Citizen, Passport, CNIC — all inheriting from a base IdentityDocument class. These are real-world Pakistani applications of 9618 OOP concepts.
Pakistan's universities (LUMS, NUST, UET) build Student Management Systems using OOP. A base class `Person` has attributes Name, CNIC, Email and methods GetName(), SetEmail(). Two subclasses inherit from Person: `Student` adds RegNumber, CGPA, Semester and methods Enroll(), CheckFees(); `Faculty` adds EmployeeID, Department, Designation and methods TeachCourse(), SubmitGrades(). This is textbook inheritance — code for Person is written once and reused in both Student and Faculty. The `Speak()` equivalent would be `GenerateReport()` — a faculty generates a teaching report, a student generates a transcript — polymorphism. NADRA's ID system uses classes for Citizen, Passport, CNIC — all inheriting from a base IdentityDocument class. These are real-world Pakistani applications of 9618 OOP concepts.