Abstraction in Java
Data Abstraction :
The technique of creating new data types that is well usuited to an application to be programmed. It provides the ability to create user-defined data types. For modeling a real world object, having the properties of built-in dat types and a set of permitted operators.
A class that is declared using “abstract” keyword is known as abstract class. It can have abstract methods as well as concrete methods.
A normal class(non-abstract class) cannot have abstract methods. In this guide we will learn what is a abstract class, why we use it and what are the rules that we must remember while working with it in Java.
Data Abstraction may also be defined as the process of identifying only the required characteristics of an object ignoring the irrelevant details.