1.

Which is the correct way to create an object of the given class abc?(a) Declaringexistingclass as sealed(b) Declaringexisting class as override(c) Declaring existing class as overloads(d) Declaring existing class as shadowsThe question was posed to me in semester exam.This is a very interesting question from Fundamentals of Inheritance in chapter Object Oriented Concepts of C#

Answer»

The CORRECT ANSWER is (a) DECLARINGEXISTINGCLASS as sealed

The EXPLANATION is: NONE.



Discussion

No Comment Found

Related InterviewSolutions