1 Answer
New AnswerIf you want to make sure a class implements a specific method you use an interface. A class is required to implement this interface method. Otherwise the compiler will throw an exception.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message