If the defendant answers that he is not guilty, such plea shall be entered upon the minutes of the court; if he refuses to answer, the plea of not guilty shall in like manner be entered.