Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

jb12.0 threads.enums

Language: Layout:
+ ] Show input
Compilation time: 0.43 sec, absolute service time: 0,61 sec 
edit mode |  history  | discussion
Error(s), warning(s):
source_file.java:63: error: illegal start of expression
        Signals ss = switch(_signal){
                     ^
source_file.java:63: error: not a statement
        Signals ss = switch(_signal){
                           ^
source_file.java:63: error: ';' expected
        Signals ss = switch(_signal){
                                    ^
source_file.java:64: error: orphaned case
                case RED:    _signal = Signals.YELLOW; break;
                ^
4 errors