How to stop the inheritance?

Answers were Sorted based on User's Feedback



How to stop the inheritance?..

Answer / chswapna

By using sealed keyword in class then stop stop the inheritance.

Is This Answer Correct ?    13 Yes 0 No

How to stop the inheritance?..

Answer / suresh v

The class from which we cannot create a new class is called Sealed class.Inheritance will be stopped by using Sealed Classes.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Any disadvantages in Dataset and in reflection ?

1 Answers   DELL,


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

0 Answers  


Differences between VB.Net and C#, related to OOPS concepts

5 Answers   CSC,


What is difference between viewstate and session in asp net?

0 Answers  


What are Themes? What is their use ?

1 Answers  






How can you get public key information?

1 Answers   Microsoft,


How do u deploy ur project?

0 Answers   HCL, Microsoft,


Why is it preferred to not use finalize for clean up?

0 Answers  


Explain why datareader is useful?

0 Answers  


What is itemrowdatabound for a datagrid?

1 Answers   IBM,


What type of code (server or client) is found in a Code-Behind class?

3 Answers   Siebel Systems,


What event handlers can I include in Global.asax ?

1 Answers  


Categories