Difference between abstract class and interface

Answer Posted / pavan kumar.m

Anterface :
In interface all d methods are abstrct,we use interface for
defining constants interface is cant directly inherited
with any class .Interface is defined
independently,interface have inherited related
relationship with inheritance only.
Abstract class:
In abstract class some methods are abstract methods and
these classes are used to prevent the creation of
object,these classes are used to define fields.
Abstract methods having abstract modifiers

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between absolute expiration and sliding-time expiration?

538


Define a virtual memory? : Dot net architecture

511


Explain about .net garbage collector?

561


Define the mesi? : Dot net architecture

542


Explain .net mobile selectionlist control? : Microsoft dot net mobile

507






Explain write back and write through caches? : Dot net architecture

550


What is .net mobile input validation. Explain with an example? : Microsoft dot net mobile

533


What is the mesi? : .NET Architecture

607


can u give me real example of how web.config overrides the machine.config file?

1299


Explain the Lapsed Listener problem in .net

675


What is one way operation?

565


What actually happes when you add a something to arraylistcollection ?

492


how to delete the record using data reader

1859


What are public and private assemblies ?

539


What is difference between .net and visual studio?

525