What is an Interface and What is an Abstract Class?
Answer Posted / meraj khan
Abstract class:
Abstract class act as base class, not instantiable, no
implementaiotn in base class but allow implementaiotn in
derived class with overide method, method must be abstract.
specially used in inheritance.
Interface:
Interface class dont have constructor, destructor,
always public modifier set to true
no implementation
cant used multiple inheritance instead of this we use
multiple interface
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.
In which event of the page life cycle, is the viewstate available?
How to implement role based security in asp.net mvc? : Asp.Net MVC
while developing webservices if i want some users to use my webservice only how can i give security to my webservice?
What is the difference between user control an custom control?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
Define web services in asp.net.
Out of ASP or ASP.NET which one is stateless?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
What are the different kinds of assemblies?
Which is faster union or union all?
What are the steps to follow to host a web application on a web server?
Is it possible to create web application with both webforms and mvc?
Is there any limit for query string? Means what is the maximum size?