If the answer deny any material facts stated in the petition, the court may determine the issues upon evidence, or cause them to be submitted to a jury.