> public static void main (String[] args){...}yes it doesnt compile without it.i think the AP made a typo