मराठी
महाराष्ट्र राज्य शिक्षण मंडळएचएससी विज्ञान (संगणक विज्ञान) इयत्ता १२ वी

What is inheritance? - Computer Science 1

Advertisements
Advertisements

प्रश्न

What is inheritance?

What do you understand by 'Inheritance'? 

लघु उत्तर

उत्तर १

Inheritance is one of the most important features of Object-Oriented Programming. In object-oriented programming, inheritance enables a new class and its objects to take on the properties of the existing classes. 

shaalaa.com

उत्तर २

The process of deriving a new class from an existing one is known as inheritance. The previous class is referred to as the base class, whereas the new class is known as the derived class. C++ heavily promotes the idea of reusability. Once a class is built and tested, it can be customized by other programmers to meet their needs. This involves developing new classes and reusing old properties. Tested class functions and variables can be accessed by objects from other classes. This is referred to as inheritance. 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 16: Inheritance - Evaluation - Section - B [पृष्ठ २७३]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
पाठ 16 Inheritance
Evaluation - Section - B | Q 1. | पृष्ठ २७३
अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.01 Introduction to Object Oriented Programming Concepts
Review Insight | Q 9. | पृष्ठ ७
अविचल Computer Applications [English] Class 10 ICSE
पाठ 8 Encapsulation and Inheritance
EXERCISES | Q V. 5. | पृष्ठ ४४६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×