What is the difference between generic functions and methods in R's OOP systems?
Role: Data Scientist
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Other
Overview: Asks how generic functions and methods differ in R's object systems and how a call reaches the right implementation. Tests S3 and S4 dispatch, default and inherited methods, how new classes get supported, and how encapsulated systems like R6 compare.