What code needs to be written if we want our own content in this pop-up to get displayed on running this code ... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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()); } }

4th Jun 2017, 1:31 PM
priya
6 Answers
+ 2
what content?
4th Jun 2017, 1:37 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
Instead of this “Looks like your program needs input. Use new lines to separate multiple lines” content, I want some content more specific.
4th Jun 2017, 1:52 PM
priya
+ 1
What code has o written for that ?
4th Jun 2017, 1:55 PM
priya
+ 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 ?
4th Jun 2017, 2:18 PM
priya
+ 1
https://code.sololearn.com/cH07w72RCE17 great java design watch it
4th Jun 2017, 2:21 PM
salman
+ 1
Thank u every1 for the ans ☺️
4th Jun 2017, 2:29 PM
priya