Abstraction is the concept of hiding the internal details of a functionality and providing a simple representation for the same. So complex functionality can be made available to the outside world in a simple way. We can see below that internal details of a car is abstracted and its functionality is made available to public […]

Share this article on

Abstract class

Abstract class Abstract class in Java can be created using “abstract” keyword. If we make any class as abstract then it can’t be instantiated which means we are not able to create the object of abstract class. Inside Abstract class, we can declare abstract methods as well as concrete methods So using abstract class, we […]

Share this article on
< Previous Next >