Like classes, interfaces can also be extended. This is done by the keyword extends as follows
interface A extends B { // Body of A }
interface SilanSoftware { int x=10; string name="Mona"; } interface SilanTechnology extends SilanSoftware { void show( ); }
interface A { int x=10; string name="Mona"; } interface B { void show( ); } interface Demo extends A,B { - - - - - - - - }
Silan Software is one of the India's leading provider of offline & online training for Java, Python, AI (Machine Learning, Deep Learning), Data Science, Software Development & many more emerging Technologies.
We provide Academic Training || Industrial Training || Corporate Training || Internship || Java || Python || AI using Python || Data Science etc