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

innerclss

Language: Layout:
+ ] Show input
Compilation time: 0.62 sec, absolute service time: 0,76 sec 
edit mode |  history  | discussion
Error(s), warning(s):
source_file.java:14: error: Illegal static declaration in inner class Rextester.Innerclassdemo
    public static void main(String args[]) {
                       ^
  modifier 'static' is only allowed in constant variable declarations
1 error