What is abstract class in JAVA.
Answers
Answered by
0
Abstraction is a process of hiding the implementation details and showing only functionality to the user.
There are two ways to achieve abstraction in java:
1. Abstract class (0 to 100%)
2. Interface (100%)
Answered by
1
Answer:
class that is declared using “abstract” keyword is known as abstract class. It can have abstract methods(methods without body) as well as concrete methods Abstract classes and methods are when the parent class has a named method, but need its child class(es) to fill out the tasks. An abstract class is a class that contains at least one abstract method. An abstract method is a method that is declared, but not implemented in the code.
Similar questions
Science,
7 months ago
Biology,
7 months ago
Physics,
7 months ago
Social Sciences,
1 year ago
History,
1 year ago