Select the correct answer.

Francis has created a new program. However, Francis used some objects from another program to run methods in the current program. What is this feature of OOP called?

A.

code inheritance

B.

code reuse

C.

code flexibility

D.

code regeneration

Reset

Respuesta :

Answer:

A: Code inheritance

Explanation:

In OOP (Object Oriented Programming) languages in Python, when we derive a class from another class for a ranking of classes which share a set of methods and features, we call it inheritance code.

This definition tallies with the one in the question and thus, the correct option is A.

Answer:

B. Code Reuse

ACCESS MORE
EDU ACCESS