124 Study  (Free Education Portal) Indian Free E-Learning Platform
  • Home
  • 124 IELTS
  • AMAN IELTS
  • iEnglish Guru
  • Books
  • Support Us
  • Contact Us

Sunday, November 4, 2018

What is inheritance? What are the base and derived classes? Give a suitable example of inheritance. by 124study.blogspot.in

November 04, 2018  BCA-3rd Sem, C++, Question Answer  No comments


C++ Multiple, Multilevel and Hierarchical Inheritance. ... Inheritance is one of the core feature of an object-oriented programming language. It allows software developers to derive a new class from the existing class. The derived class inheritsthe features of the base class (existing class).


What are the base and derived classes?

A base class is a class, in an object-oriented programming language, from which other classes are derived. It facilitates the creation of other classes that can reuse the code implicitly inherited from the base class (except constructors and destructors). A programmer can extend base class functionality by adding or overriding members relevant to the derived class. 

derived Classes ???

Any class type (whether declared with class-key class or struct) may be declared as derived from one or more base classes which, in turn, may be derived from their own base classes, forming an inheritance hierarchy.






Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Social Profiles

TwitterFacebookGoogle PlusLinkedInRSS FeedEmail
  • 124 IELTS
  • Submission
  • Interest Calculator
  • Games Portal
  • Universities

Categories

Academic Task 2 BCA Question Answer BCA-3rd Sem Reading Test Question Paper IELTS Ebook Academic Task 1 BCA-6th Sem Computer Networks BCA-5th Sem Books C++ MIS Our Products Java Education HTML Speaking BCA English Software Engineering Punjabi Tips & Techniques Other Material GT Writing General Reading Notes BCA-1st Sem CELPIP Library ASP.NET BCA-4th Sem E-Commerce GK Grammar Prediction book B.Tech B.com BBA Free Ebooks Google MBA MCA PTU PU CHD Syllabus System Software offers Academic Task 2 VOCAB B.A CBSC Date Sheet Delhi University English Grammar Free Books ICSE LINKING WORDS Learn Punjabi Microsoft Mock Test News P.HD Press Release
  • Popular
  • Tags
  • Blog Archives
  • ROBERT ANTHONY’S HIERARCHY OF MANAGEMENT ACTIVITY by 124study
  • SYNONYMS FOR "NICE", "GOOD", "BAD" & "SAD" by 124Study
  • Some people think that instead of preventing climate change, we need to find a way to live with it. To what extent do you agree or disagree? || AMAN IELTS IELTS IELTS IELTS IELTS

 
Copyright © 124 Study (Free Education Portal) Indian Free E-Learning Platform | Created by Ranjot Singh Chahal