if else statement error as it says its not a statement

后端 未结 5 1605
渐次进展
渐次进展 2021-01-29 14:05

I am new to java programming and I am trying to program, however, I am getting an error in my If Else statement. Can someone please look into it and help me.

 pu         


        
5条回答
  •  故里飘歌
    2021-01-29 14:54

    You have a condition after the else.

    Try with else if

    https://docs.oracle.com/javase/tutorial/java/nutsandbolts/if.html

提交回复
热议问题