Question: Explain the concept of abstract method in Java.Answer: An abstract method is a method declared without an implementation in an abstract class. Subclasses must provide the implementation for abstract methods.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users: