what are abstract classes? what is overriding?

Answer Posted / lakki

Abstract class is a class contains one or more abstract
methods or propeties, such methods do not provide
implementation. if u wantto implement that methods then first
u hav to derive that class.
abstract classes cant be intiated, but abstract derived
classes can be inherited.

Overriding is nothing but a child class derived the method in
its parent class, method parametrs are same but logic is
different..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?

519


What is a razor file?

524


Is dapper faster than entity framework?

526


Can you explain model, controller and view in mvc?

563


What is attribute routing in mvc?

573






Can I add mvc testcases in visual studio express?

588


In Server how to check whether model has error or not in ASP.Net MVC

619


Explain how you can send the result back in JSON format in MVC?

576


How do I use partial view?

529


How does servicing work for the .net framework 3.0?

534


Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )

2492


Explain the advantages of asp.net mvc over asp.net?

591


How can we determine action invoked from HTTP GET or HTTP POST?

564


What is ado.net data provider? : Entity framework

562


What is associationset? : Entity framework

559