Home > Java Programming > Interface > Questions and Answers
Q: |
interface A{ Int i=0; } interface B extends A{ Int i=1; } interface C extends B{ Int i=2; } Class Manager implements A { Int i=3; Public static void main(String args[]) { C c1=(C)new Manager(); System.out.println(c1.i); } } | ||||||||||
|
Comment on this Question | |
Name: | |
|