code is fine only change the word case to somthing else like test1 or hello or sing
case is a reserved word for the compiler.
x=0 y=0
x=1 y=0
Originally posted by sonir shah:
I tried running this program but it didnt compile.
The error was as follows:
Test003.java:6 : orphaned case
case
^
1 error
What do we mean by this?
Sonir