what is the basic concept of inheritance?

Answer Posted / siva

if one class(called derived) acquires/inherits properties
of another class(base class) is called inheritance.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is methods in oop?

537


Why we use classes in oop?

573


What is a class oop?

588


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1636


What is purpose of inheritance?

641






String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1938


Can enum be null?

582


What is polymorphism in oops with example?

525


What does enum stand for?

607


what type of questions

1691


What is encapsulation in simple terms?

535


What are the components of marker interface?

600


Whats is abstraction in oops?

585


what is different between oops and c++

1998


how to get the oracle certification? send me the answer

1664