0
someone give me an example
the situation we use interface but inherit
1 Réponse
0
Company may force you to implement these these functionalities, if in case interface not used by company, yiu may skip the functionalities. so interface tell us what are all must be implemented in our code. finally company will tell that this is the interface, you have to code it. so we must and should override interface methods otherwise compiler gives error