Start learning →

Match OOP tension: 1. Design: p. Patterns 2. Subcls: q. Expose 3. Yo-yo: r. Hard bug

A1-p, 2-q, 3-r
B1-p, 2-r, 3-q
C1-q, 2-p, 3-r
D1-r, 2-p, 3-q
Answer & Solution
Correct answer: A. 1-p, 2-q, 3-r
Design Patterns observes that overuse of inheritance compromises encapsulation by exposing parent details, leading to the yo-yo debugging problem.
Practise this question with Quill — ICSE Class 10 →

Keep practising Classes, Encapsulation and Scope

Browse all Classes, Encapsulation and Scope questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Classes, Encapsulation and Scope lesson →