Example
class
ClassA
{
public:void
method(
int
variable1,
char
ClassA) {
}
};
Solution
In the given example one of the parameters of method() have the same name as the class "ClassA". This should be avoided
class
ClassA
{
public:void
method(
int
variable1,
char
variable2) {
}
};