+ 2
What code needs to be written if we want our own content in this pop-up to get displayed on running this code ...
import java.util.Scanner; class MyClass { public static void main(String[ ] args) { Scanner myVar = new Scanner(System.in); System.out.println(myVar.nextLine()); } }
9 Answers
+ 2
what content?
+ 1
Instead of this âLooks like your program needs input. Use new lines to separate multiple linesâ content, I want some content more specific.
+ 1
What code has o written for that ?
+ 1
Okay! But if I run the code in PC, not in this app then.. what changes have to be done to the existing code ?
+ 1
https://code.sololearn.com/cH07w72RCE17 great java design watch it
+ 1
Thank u every1 for the ans âșïž