Cannot Find Symbol Error (Java Tutorial)

preview_player
Показать описание
Learn about the error cannot find symbol in Java, what causes it, and how to resolve it.

#Java #CannotFindSymbol #ErrorCannotFindSymbol
Рекомендации по теме
Комментарии
Автор

I have some java files in a folder and I want to run them from command line.
But I get the error: cannot find symbol
Why is it that the one file cannot see classes from other files in the same directory?
I checked the names and everything is correct.

ioulios
Автор

hey i have this error of cannot find symbol in the code of changing the jframe from button

ie. menu info = new menu();

demigodly
Автор

sir, can you help mee please
i have a trouble when compiling my java program in cmd, the eror message is like in the video but in my case cause the Start obj = new Start(); the cmd cannot compile my other class (Start), while i already compile Start.java first but the cmd keep cannot compile the file, is in same packages, I'm very confused because so far I haven't found a video discussing this. I'm very grateful if you know the solution.

kerad
Автор

hello dear sir, i have some questions regarding Integer.parseInt for file input in java.

int b = ;

error : cannot find symbol
symbol : method parseInt(String)
class : integer

however, if i use double instead of integer, the code works but i cannot use it due to the question asking us to use integer instead. idk how to fix this

sleeplls
Автор

just need help with putting in my linklist in my for loop so that my .length error goes away?

Mind_and_BodyMastery
Автор

i have a error: bad operand types for binary operator '||'
if(ch == 'a' || ch == 'e' || ch == 'i' || 'o' || ch == 'u' )
^
first type: boolean
second type: char
1 error

kian
visit shbcf.ru