aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Programming Concepts
  • What feature allows us to reuse code?
Multiple choice

What feature allows us to reuse code?

  1. Data abstraction

  2. Polymorphism

  3. Inheritance

  4. Function overloading

  5. Virtual function

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

It is used for reuse the code because all the properties of the base class inherit in child class.

Keep practicing — related questions

  • Which of the following is not an advantage of Object Oriented Programming?
  • Inheritance is used to
  • ________ allows designing of new objects that inherit the functionality of objects that are already created.
  • What allows a class to have multiple implementations of the same behaviour?
  • The process of creating a new class from an existing class to facilitate code reusability is known as
  • Run-time polymorphism can be achieved by using _______.
  • Which of the following methods is used to achieve run-time polymorphism in C++?
  • Which function is used to make use of a function which is used in two derived classes and also in the base ...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Object-Oriented Programming (2239 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy