Question
This technique is regulated by the "L" in the mnemonic "SOLID," which stands for the Liskov substitution principle. Ambiguity in this technique causes the diamond problem. In one common language, the keyword "virtual" facilitates overriding with this technique, while another language simulates this technique with interfaces. Polymorphism often arises from this technique, which creates an "is a" relationship contrasted with (*) composition's "has a" relationship. Java's keyword "extends" denotes this technique. This technique defines a subclass that gains the attributes of a superclass, or parent. For 10 points, name this technique in object-oriented programming that is named for receiving things from a family member. ■END■
ANSWER: inheritance [accept multiple inheritance or shared inheritance or replicated inheritance or subclassing; accept word forms like inherited; prompt on object-oriented programming or OOP; prompt on word forms of extends until read by asking "what is the more general name?"; prompt on polymorphism until read by asking "what technique gives rise to polymorphism in this context?"] (The third sentence refers to C++, then Java.)
<Science - Other Science - Computer Science>
= Average correct buzz position
Buzzes
Summary
Tournament | Edition | Exact Match? | TUH | Conv. % | Power % | Neg % | Average Buzz |
---|---|---|---|---|---|---|---|
2025 PACE NSC | 06/07/2025 | Y | 36 | 89% | 36% | 0% | 73.66 |