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

difference between Trace and Debug ?

2 Answers   Accenture, HCL, Patni,


Can we Run the Application without Build

3 Answers   Emphasis,


How does session work in asp net?

0 Answers  


What are the asp.net server side objects?

0 Answers  


What is the difference between session.abandon() vs clear()?

0 Answers  






benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

0 Answers   HCL,


When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?

0 Answers   BirlaSoft,


If I m using Session State Partioning where I have partitioned my session into 4 servers then how can I know that my session will be stored on which server?

1 Answers  


How will you maintain versioning in asp.net 2.0?

0 Answers   MCN Solutions,


What is the difference between sealed vs static class?

0 Answers  


How can we communicate with each server in N-tier Architecture? and what are the methods?

0 Answers   Wipro,


Define cookie.

0 Answers  


Categories