Lại Phương Thanh
New member
How can I get abstraction in Android?
Answer
It is declared using
abstract keyword before method name. For example, calling method is an abstract method. abstract void method_name(); Important Note: In order to use abstract method we first need to override that method in subclass (i.e. child class).
Answer
It is declared using
abstract keyword before method name. For example, calling method is an abstract method. abstract void method_name(); Important Note: In order to use abstract method we first need to override that method in subclass (i.e. child class).