S
SiacoinSage45
Guest
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.
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.