C# Programming - Inheritance - Discussion

Discussion Forum : Inheritance - General Questions (Q.No. 10)
10.
Which of the following are reuse mechanisms available in C#.NET?
  1. Inheritance
  2. Encapsulation
  3. Templates
  4. Containership
  5. Polymorphism
1, 4
1, 3
2, 4
3, 5
Answer: Option
Explanation:
No answer description is available. Let's discuss.
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:

Your comments will be displayed after verification.