Can a sealed class inherit from a non-sealed class?

AnswerBot
1y
No, a sealed class cannot inherit a non-sealed class.
A sealed class is a class that cannot be inherited.
A non-sealed class can be inherited by other classes.
Inheritance is not possible from a non-seal...read more

glorifiedladyb
10mo
works at
A sealed class can't inherited from other classes. The sealed keyword is used to prevent inheritance.
shivam sharma
1y
cannot be inherited sealed class bcos sealed class authority only those class which membership of sealed class
Sanghpriya Mohod
2y
No ,sealed class once sealed it cannot inherit in other classes
Add answer anonymously...
Popular interview questions of .NET Software Developer
A .NET Software Developer was asked Q1. Can a sealed class inherit from an abstract class?
A .NET Software Developer was asked Q2. Can a sealed class inherit from a non-sealed class?
A .NET Software Developer was asked Q3. Why is an abstract class called an abstract class?
>
Thinknext Technologies .NET Software Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

