what is abstraction in OOPS?

srivmanish007 used Ask the Experts™
Exactly what is abstraction in OOPS?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Manager / Solutions Architect
Your question is a bit vague but abstraction on OOP languages is directly linked to the usage of interfaces.

For example:
When you create an Interface an implement it on several classes and have, for example, methods that receive the interface as an argument instead of the actual class type this is abstraction.

Another example is the Adapter Pattern. Usually also based on Interfaces, with this pattern you can create several ways of doing one end result just by expecting a base type. Take the ADO.net as a pretty good example.

Have a look at these links:
http://devcentral.iftech.com/articles/CSharp/intro_Csharp/default.php  (example 3)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial