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

Explain the race around condition? : Dot net architecture

626


Define cache coherency? : Dot net architecture

725


How to upload in video,mp4,in .net 4.5 ..?

713


Is .net easier than java?

675


Whats new features in Visual Studio 2012?

714






Explain element .net mobile with example? : Microsoft dot net mobile

715


What is .net mobile forms? : Microsoft dot net mobile

676


What are public and private assemblies ?

707


What is private constructor? And it's use?

806


.Net Frame work arch?

1787


Explain difference between state server and sqlserver? : .NET Architecture

702


deference between display and visibility property of CSS

1935


What is the difference between machine config vs. Web config : Dot net architecture

681


Explain the Lapsed Listener problem in .net

825


What are the important principles of soa (service oriented architecture)?

666