サンプル
public class
ClassA {
char
i;
int
i;
}
解決策
サンプルでは、2 つのフィールドの型は異なっていますが、同じ名前 "i" が使用されています。これは回避してください。
public class
ClassA {
char
a;
int
i;
}