Skip to main content

Abstraction in Java || What Is Abstraction in Java?

 Abstraction in Java || What Is Abstraction in Java? 

Hi , Welcome to Java Education Point. In this post we talk about Abstraction in java.

Defination of Abstraction:

Hiding the internal implementation and just highlight the set of services we are offering is the concept of Abstration.

abstraction-in-java

Note:- By Using abstract classes and interfaces we can implement Abstraction.

Example of Abstraction: 

Through bank ATM GUI screen Bank People are highlighting the set of services what they are offering without highlighting Internal Implementation.

Advantages Of Abstraction:

1.We can Achive security because we are not highlighting our internal Implementation. 

2. Enhancement will Become very easy because Without Effecting outside person we can able to perform any kind of changes in our Internal System.

3. it Provides more flexibility of the application.

4. It improves maintainability of the application.

5. It improves modularity of the application. 

6. It improves easyness to use our system. 

By using interfaces (GUI screens) we can implement abstraction.

abstraction-in-java

Comments