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

on modify statement, executeNonQuery returns zero rows affected even though there has been modification carried out sucessfully in the table.. can anyone tell me is this possible??? if yes, how..???

1 Answers   ADITI,


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

0 Answers   Siebel,


After building the custom control, you test it by adding an ASP.Net web application to the solution. You add a correct <%@ Register %> directive and a proper declaration of the control in the <asp:Form> tag to the Web Form, but when you execute the application you get an error. What is the most likely reason for the problem? a) The custom control must be compiled first. b) The web application must have a reference to the control c) The custom control must be registered with windows first. d) The assembly from the custom control is not in the application?s bin directory.

1 Answers   Syntax Softtech,


In order to get assembly info which namespace we should import?

0 Answers  


What are the different types of Caching techniques in ASP.NET?

0 Answers  


How can we create Tree control in asp.net?

0 Answers  


What is .NetFramework?

1 Answers   Syntel,


What are the Types of object in asp

0 Answers   BirlaSoft,


How does session id work?

0 Answers  


Can we store object in viewstate?

0 Answers  


how many select state ments are used in stored procedure?

8 Answers   CSC,


What is jade template engine?

0 Answers  


Categories