Search This Blog

Abstraction in Java

Abstraction 


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

Exm.-: Through bank ATM GUI screen bank are highlighting the set of services what they are offering without highlighting internal implementation.


Advantages-:
                          1- Security -:
                                                We can achieve security because hiding our internal implementation.
                          2- Enhancement will become easier-:
                                                Without affecting outside person we can able to perform any type                                                           changes in our internal system. Enhancementiblity becomes easy.
                          3- Improve easiness-: 
                                                 It improves easiness to use our system.
                          4- Maintainability-: 
                                                 It improves maintainability of the application.

By using interface and abstract classes we can implement abstraction.