接口变量访问问题interface I{ int n=3; } class Test implements I{ int n=2; } 两个变量n重复,请问怎么表示这两个n?[解决办法]接口的n用I.n可以表示 Test a=new Test(); a.n;//类Test中n的表示[解决办法]这个同名就是设计的问题了,重新设计过