Back to the full dot-point answer
Northern IrelandSoftware Systems DevelopmentQuick questions
AS 1 Introduction to Object Oriented Development
Quick questions on Encapsulation, inheritance, polymorphism and abstraction - CCEA A-Level Software Systems Development
3short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.
What is inheritance?Show answer
Inheritance lets a new class, the subclass (child), acquire the attributes and methods of an existing class, the superclass (parent), and then add or modify features of its own. This builds a class hierarchy in which shared behaviour lives near the top and specialised behaviour lower down. Its main benefit is code reuse: common features are written once and shared.
What is q1?Show answer
State what is meant by encapsulation and name the access modifier used to hide an attribute. [2 marks]
What is q3?Show answer
Give one benefit of abstraction to a developer working on a large system. [1 mark]
Have a question we have not covered?
This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.