From one learn all.
Thursday, July 12, 2007
What’s the difference between an interface and abstract class?
In an interface class, all methods are abstract - there is no implementation.
In an abstract class some methods can be concrete.
In an interface class, no accessibility modifiers are allowed.
An abstract class may have accessibility modifiers.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment