You are viewing a single comment's thread. Return to all comments →
Its not working for me -
Solution.java:12: error: Illegal static declaration in inner class Solution.Solution2 static Scanner scan = new Scanner(System.in);
Seems like cookies are disabled on this browser, please enable them to open this website
Java Static Initializer Block
You are viewing a single comment's thread. Return to all comments →
Its not working for me -
Solution.java:12: error: Illegal static declaration in inner class Solution.Solution2 static Scanner scan = new Scanner(System.in);