Java Abstraction with Example | Java Tutorial for Beginners

preview_player
Показать описание
Java Abstraction with Example | Java Tutorial for Beginners

Java Abstraction is nothing but hiding the internal logic and displaying main details to the users or end users.

Java Abstraction Example:

1.Sending Email Case
2.Hiding Internal Logic : the protocol your e-mail server uses are hidden from the user
3.Displaying to User: To send an e-mail you just need to type the content, mention the address of the receiver, and click send.

Java OOPS - Abstraction:

1.Abstraction is Hiding Internal Logic and Displaying Main Functionality to the users
2.Process of hiding required characteristics of the Objects and ignoring the irrelevant details is called Abstraction in Java
3.Abstraction in Java Helps in Classifying and grouping the objects.
In Java Abstraction is achieved by Interfaces and Abstract classes.
Рекомендации по теме
Комментарии
Автор

Can you pls explain why Selenium webdriver is an interface and not an abstract class ?

MayankRathi
join shbcf.ru