Interface
|
Abstract Class
|
Interface support multiple inheritance
|
Abstract class does not support multiple
inheritance
|
Interface does'n Contains Data Member
|
Abstract class contains Data Member
|
An interface Contains only incomplete
member (signature of member)
|
An abstract class Contains both incomplete (abstract)
and complete member
|
Member of interface can not be Static
|
Only Complete Member of abstract class can be Static
|
An interface cannot have access modifiers
by default everything is assumed as public
|
An abstract class can contain access modifiers for the
subs, functions, properties
|
Saturday, 23 August 2014
Interface Vs Abstract Class
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment