How could you defineAbstraction in OOP?

Technology CommunityCategory: OOPHow could you defineAbstraction in OOP?
VietMX Staff asked 3 years ago

Abstraction is a technique of taking something specific and making it less specific.

In OOP we achieve the abstraction by separating the implementation from interface. We take a implemented class and took only those method signatures and properties which are required by the class client. We put these method signatures and properties into interface or abstract class.