class TimePass3 { void show1() { int a; static { System.out.println("Hi1"); } } void show2() { static { System.out.println("Hi2"); } } public static void main(String[] args) { show1(); show2(); static { System.out.println("Hi2"); } } }
"Illegal start of expression static"
Java
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)