someone give me an example | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

someone give me an example

the situation we use interface but inherit

26th Feb 2017, 12:59 AM
ddd
1 Answer
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
27th Feb 2017, 12:02 PM
Sowmithra Kumara
Sowmithra Kumara - avatar