22nd Jun 2022, 2:11 AM
Jay Ravidas
Jay Ravidas - avatar
2 Answers
+ 3
It's a glitch in Code Playground which does not invoke input dialog when there are spaces inside parentheses (constructor argument - System.in). Just don't put any space in there Scanner sc = new Scanner(System.in); // <- no space in (System.in)
22nd Jun 2022, 2:22 AM
Ipang
+ 2
Thanks 😀
22nd Jun 2022, 2:27 AM
Jay Ravidas
Jay Ravidas - avatar