Hello akmi5!
As your compiler says:
';' expected. You have forgotten to put a semicolon(;) after your statement ( System.out.print(occurs('a',"hello")) ).