Sealed class can be inherited

A) True
B) False
Explanation: Sealed class cannot be inherited

Showing Answers 1 - 8 of 8 Answers

surya subrahmanyam

  • Jan 2nd, 2006
 

answer:

A sealed classs can't be inherited,but it can be derived from other class.

a sealed class with "sealed" as  a key word indicates that ,it  is the end of the class heirarchy.

  Was this answer useful?  Yes

sabir

  • Jan 13th, 2006
 

it cannot be inheruted b'coz the meaning of the sealed class is to stop the inheritance '

  Was this answer useful?  Yes

gnani

  • Feb 15th, 2006
 

sealed classes cannot be inherited as the sealed classes provides full  functionality only the classes that have no full functionality can be inherited

  Was this answer useful?  Yes

Rohit Sharma

  • Apr 20th, 2006
 

False. The sealed class can not be inherited. This can be acheived by using the keyword "sealed". what this keyword does, it tells the compiler that it is the last class in the class hierarchy. The best example of sealed class is "String Class."

Moreover, we can achieved the same functionality by implementing the concept of "private constructor" in our base class.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions