Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5
String name = "Toyota"; 👆
25th Sep 2022, 11:40 AM
Solo
Solo - avatar
+ 4
If you run your code, you will get an error message. Don't be afraid of errors, they ARE trying to help you. In this case, the error tells you exactly which line and which word is the problem. It says "cannot find symbol" pointing to the word "string". So this can mean that you misspelled something, or you try to use a variable that you have not declared or is not in scope, or you forgot to import a package.
25th Sep 2022, 1:03 PM
Tibor Santa
Tibor Santa - avatar