import java.util.scanner;
public class Solution
{
public static void main(String[] args)
{
System.out.print("I think being a programmer is cool");
}
}
error is coming in print the line "I think being a programmer is cool".
Under discussion
Comments (10)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
7 January 2019, 15:49
Next time don't copy and paste your code, just select this:![]()

0
Guadalupe Gagnon
7 January 2019, 15:51
It looks like you added more code than you need. Copy the Sys.out.print line, reset the task, then paste that line ONLY in the main method and resubmit. If that does not work, try System.out.println(...) instead of just print.
0
Divya vats
11 January 2019, 08:06
could you please sent me the answer ?
0
Guadalupe Gagnon
11 January 2019, 14:20
System.out.print("I think being a programmer is cool");
↑ this is the answer
0
Divya vats
16 January 2019, 07:56
import java.util.scanner;
public class Solution
{
public static void main(String[] args)
{
System.out.print("I think being a programmer is cool");
}
}
Is it right or wrong?
0
Guadalupe Gagnon
16 January 2019, 14:14
why do you have the scanner imported? Reset the task and only write one line, the one with the text. And if you are still failing try System.out.println("...") instead of print("...")
0
Avinash Rana
16 January 2019, 15:39
reset the code
0
Divya vats
18 January 2019, 19:56
Thank you
0
Divya vats
18 January 2019, 19:57
Thank you
0
Divya vats
23 January 2019, 19:28
could you please help me in level 1, lesson 7
in which there is one question to repeat the code
I don't know how to compile after writing the code.
0