C# Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 1)
1.
Which of the following can be facilitated by the Inheritance mechanism?
- Use the existing functionality of base class.
- Overrride the existing functionality of base class.
- Implement new functionality in the derived class.
- Implement polymorphic behaviour.
- Implement containership.
Discussion:
13 comments Page 2 of 2.
Abhishek said:
1 decade ago
Why is this "Implement polymorphic behaviour" is not included?
P.vijayan said:
1 decade ago
Inherit means getting the property off.
Base class -> derived class.
Derived class has the features of base class and as its own.
Base class -> derived class.
Derived class has the features of base class and as its own.
Nasreen Khan said:
1 decade ago
It is correct as inheritance is the mechanism of deriving a new class from the base class, thus we can excess the functionality of base class in derived class.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers