Example

class ClassA {
char i;
int i;

};
Solution
In the example there two fields with the same name "i" even tough they are of different types.This should be avoided.

class ClassA {
char a;
int i;

};