Jianfei's blog
Sunday, January 31, 2016
[Java] Abstract and Interface
Abstract "is A" abstraction of class
Can have member and non-abstract methods
Interface "like A" abstraction of behavior
ISP : Interface Segregation Principle : several specialized interfaces is better than mono interface with multiple behaviors.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment