public interface Game{
public abstract boolean isValid(int coup);
}
public Machin implements Game{
//Do I need to write @Override here ?
public boolean isValid(int coup){
//exemple
if (coup==0){
return false
}
return true
}
}
I don't understand Overriding with abstract method could you help me ? Do I need to put @Override ?