JiafanZhou
版主
发贴: 736
积分: 61
|
于 2008-12-08 19:31
Due to the fact that you are using Eclipse as your IDE to develop your Java program, you should notice that IDE informs you of those compiling errors.
Check your first interface which only contain one parenthesis. (an oversight from your code). In order words, all the Java programming "components", including if, else, try, catch, class, interface, etc.... must be included an open and a close parentheses.
Regards, Jiafan
When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
|