I am facing difficulties in intilizing the values in code coach problems in java .How do i can overcome on this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I am facing difficulties in intilizing the values in code coach problems in java .How do i can overcome on this

31st Jan 2020, 6:16 AM
Shivam Kumar Singh
Shivam Kumar Singh - avatar
3 Answers
+ 2
Share the question and your code with us so that someone can help.
31st Jan 2020, 7:10 AM
Avinesh
Avinesh - avatar
+ 1
You don't need to initialize the variables. Script input reading and the automatic testing will input the values for you.
31st Jan 2020, 7:55 AM
Gordon
Gordon - avatar
0
When you say “script input reading” would that be something like String word = x.nextLine(); ? I feel like whenever I do something like that I get the error saying Symbol Cannot Be Resolved... usually for the x.
16th Jul 2020, 12:51 PM
Jon Barto
Jon Barto - avatar