下面代码是否有错,如有错,请指出并阐述错误原因。
class testB{
string aa = “I’m testB”;
}
interface testA{
string aa = “I’m testA”;
}
class testC extends testB implemets testA{
public void cc(){
System.out.println(aa);
}
public static void main(String[] args){
new testC().cc();
}
}