✅ understanding interfaces
An interface is supposed to provide extra functionality for a class.
but the class has to manually implement the method specified in the interface
then whats the point of having an interface if you're going to create the custom method anyway?
but the class has to manually implement the method specified in the interface
then whats the point of having an interface if you're going to create the custom method anyway?