I tried this in netbeans 11.2 (tools-->open java platform shell)
[1]-> Scanner a=new Scanner(System.in);
| a ==> java.util.Scanner[delimiters=\p{javaWhitespace}+][position=0][match valid=fa ...
[2]-> System.out.print("give number=");
[3]-> a.nextLine();
i can see the output window but i can not enter values.Any suggestions?