Home > Interview Questions > OOPS > Is it possible to prevent the class from being inherited by another class?

Is it possible to prevent the class from being inherited by another class?

by Thamil   on 16/03/2015   Category: OOPS   |  Level: Beginner   |  Views: 1283    |  Points: 25     |  Gold 


Yes it's possible by using sealed keyword, this would prevent the class from being inherited by another class


« How to set default browser to debug asp.net application in visual studio?
» Is XML case-sensitive?
Post Question  |  Question Home

Recent Posts

User Responses


No response found, be the first to review this question.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts