declared abstract - mixture of implemented and abstract methods
abstract void dddd(a a,s s,s s,a s);
abstract method means class must be declared abstract
abstact keyword not needed in an interface
abstract is for code sharing
interface is for behaviour describibing to unrelated classes
an example is abstractMap - Collections framework
note abstract calls can implement an interface but you dont have to do the implementation - just the subclass
No comments:
Post a Comment