I am a little bit familiar with the difference between Abstract and Interface classes but What do you think is the meaning of the sentence below?
An interface can only define constants while abstract class can have fields.
An interface can only define constants while abstract class can have fields.
your field from interface is by implicitly public, static, final
which isn't case with abstract class
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With