Abstraction in Java - Java tutorial - w3Schools - Chapter 36 English

Published: 17 July 2022
on channel: w3Schools Tutorials
466
3

Abstract Classes and Methods
Data abstraction is the process of hiding certain details and showing only essential information to the user.

Abstraction can be achieved with either abstract classes or interfaces.

The abstract keyword is a non-access modifier, used for classes and methods:

Abstract class: is a restricted class that cannot be used to create objects (to access it, it must be inherited from another class).

Abstract method: can only be used in an abstract class, and it does not have a body. The body is provided by the subclass (inherited from).
An abstract class can have both abstract and regular methods.


On this page of the site you can watch the video online Abstraction in Java - Java tutorial - w3Schools - Chapter 36 English with a duration of hours minute second in good quality, which was uploaded by the user w3Schools Tutorials 17 July 2022, share the link with friends and acquaintances, this video has already been watched 466 times on youtube and it was liked by 3 viewers. Enjoy your viewing!