package mocktest; public class EvenCount { public String count(String x) { if (x < 10 && x % 2 == 0) return 1; else if (x < 10 && % 2 !0) return 0; else if ((x >=10 && (x / 10 ) % 2 == 0) return 1 + count(x/10) + 1; else return count (x/10); } public static void main (String args[]); { EvenCount c = new EvenCount (); System.out.println(x.count(73221)); } }
Why do i have so many errors?