Because two variables mustn’t have the same name.
The reason if that you have to call the function :
void draw(){
}
instead of :
void display(){
}
Because two variables mustn’t have the same name.
The reason if that you have to call the function :
void draw(){
}
instead of :
void display(){
}