Subject: identifier expected errors
Posted By: ali582 Post Date: 8/13/2006 4:56:55 PM
Al-salam Alikoum

i want any one to explain this errors

Z:\252\assingment\Game.java:12: illegal start of type
        while(i<9){
        ^
        //protected String Letterc;
    System.out.println("Please Enter The Center Letter: ");
    Letterc = stdin.readLine()//

Z:\252\assingment\Game.java:20: <identifier> expected
        protected String Letterc;
                                ^
Z:\252\assingment\Game.java:21: <identifier> expected
        System.out.println("Please Enter The Center Letter: ");
                          ^
Z:\252\assingment\Game.java:22: <identifier> expected
        Letterc = stdin.readLine();
                ^
Z:\252\assingment\Game.java:26: illegal start of type
        while(j<9){

        ^
Z:\252\assingment\Game.java:62: <identifier> expected
        }
        ^
6 errors

Process completed.

Reply By: baiguang06 Reply Date: 8/13/2006 11:46:17 PM
There is no Exception

Reply By: panacea Reply Date: 8/16/2006 3:27:35 AM
Can you post the entire Java source code?  It seems like something's terribly wrong with your overall structure.  Perhaps you defined your function wrong, or you didn't terminate a block correctly.

Jon Emerson
http://blogs.adobe.com/jon.emerson/
Reply By: hotleave Reply Date: 9/2/2006 9:10:05 PM
Can you show you source code here?

ÎÒÃǶ¼ÊǹÂÒíµÄÌìʹ
Ö»ÓÐÏ໥ӵ±§²ÅÄÜ·ÉÏè

Go to topic 47589

Return to index page 186
Return to index page 185
Return to index page 184
Return to index page 183
Return to index page 182
Return to index page 181
Return to index page 180
Return to index page 179
Return to index page 178
Return to index page 177