C# Programming - Inheritance - Discussion
Discussion Forum : Inheritance - General Questions (Q.No. 10)
10.
Which of the following are reuse mechanisms available in C#.NET?
- Inheritance
- Encapsulation
- Templates
- Containership
- Polymorphism
Discussion:
5 comments Page 1 of 1.
Vishwanath Heddoori said:
3 years ago
It's both inheritance, templates, and containership.
Dexter Williams said:
8 years ago
Templates is not correct because they are not available in C#, .NET.
Sagar Malandkar said:
9 years ago
Containership is the ability of a class to contain objects of different classes as member data. For example, class A could contain an object of class B as a member.
Nils said:
9 years ago
What is mean by Containership? Please explain.
Nicholas Mahbouby said:
1 decade ago
You think Generics/templates is not a reuse mechanism? What exactly do you think they are for then?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers