题目
题目
单项选择题

What is inheritance?

选项
A.The ability to create a new class from an existing class
B.The practice of encapsulating data and behavior into a single unit
C.The process of copying attributes and methods from one object to another
D.A technique to optimise and speed-up code
查看解析

查看解析

标准答案
Please login to view
思路分析
Question: What is inheritance? Option 1: The ability to create a new class from an existing class - This is the standard definition of inheritance in object-oriented programming. It describes deriving a new class (a subclass or child class) from an existing class (a superclass or parent class), t......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!