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