Abstraction explained with real world example in Java

preview_player
Показать описание
In this video we will see about abstraction, Abstraction is a process of hiding the implementation details from the user. We will expose only the functions to the user. In Java, abstraction is achieved using abstract classes and interfaces.

An analogy for the abstraction is television remote, the remote only provides the functionality names and way to access it. These information makes easy for the user to access without knowing the actual implementation details of it.

The remote can have the button to change the channel, increase or decrease the volume or to switch on or off the television. The real implementation of these buttons is embedded in the television. This is just an interface for the television.

Links
----------

Рекомендации по теме
Комментарии
Автор

Men your english is not that good but u explain it clearly... salute to u amigo

renecabuhan
visit shbcf.ru