How would you stop a class from class from being derived or
inherited.
Answer Posted / selvam
but onething.If you make constructor as private you will
not be able to create an object of that class.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Why do we need polymorphism in c#?
Are polymorphisms mutations?
what type of question are asked in thoughtworks pair programming round ?
What is oops with example?
What causes polymorphism?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What does <> mean pseudocode?
What is polymorphism what is it for and how is it used?
What are different oops concepts?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why do we use class in oops?
What is destructor oops?
to find out the minimum of two integer number of two different classes using friend function
What is difference between inheritance and polymorphism?