.Abstraction is using to creating a interface which is denoting a common behaviour without specifying how that behaviour works.
e.g: Creating a interface Server where server has start() and stop().Here every server having start() and stop() but the way of start and stop may be different.
No comments:
Post a Comment