how do you use abstraction ?

SiacoinSage45

New Member
Beginner
Jul 18, 2023
115
87
0
How do you use abstraction?
If we want to use an abstract class, we have to inherit it from the base class. If the class does not have the implementation of all the methods of the interface, we should declare the class as abstract. It provides complete abstraction. It means that fields are public static and final by default and methods are empty.
 

Similar Topics