Package Error in VS Code

when i am creating two classes (Main.java) and (Human.java) in the same folder in VS Code, why i am unable to use Human Class in Main.java file, it is saying "Main.java:6: error: cannot find symbol" when i did the same in "intellij idea" it worked perfectly, i think something is wrong with my vs code
Was this page helpful?