what is the meaning of Abstraction in OOPS

what is the meaning of Abstraction in OOPS?
how/where we use Abstraction in real time project...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Abstraction is the programming principle of ignoring the low level details, in favour of concentrating on the higher level interactions between software components, and coding the interfaces between them accordingly. It is achieved by the use of subclasses, inheritance, abstract classes and interfaces to focus on the functionality of the class, without making it specific the the actual implementation.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You actually use abstraction in the Java API classes because you use them and don't care about their implementation, in other words you use the 'public interfaces', that means you use the public methods of your objects but you don't care how they were implemented. For example:

You don't care about the definition and implementation of the ArrayList and it's add method. You only care about that exists an ArrayList that has an add method.
ArrayList<String> myArrayList = new ArrayList<String>(); 
myArrayList.add("Hello World"); //(how adds the String? I don't care)

Open in new window

Asheesh_KumarAuthor Commented:
satisfactry answers
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.