Exception in thread main java.lang.error unresolved compilation problem in java solved

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I did the same but it still give me the same error

anabb
Автор

Bro i am one step away from suicide bombing in java but bro u saved me😭😭😭😭

SmitKathiriya-cptk
Автор

You don't have to remove public instead of that make sure your class name and the file name are same or not. In your case, your class name is 'writing' and your file name is 'newsttrial.java' .

sewakgtm
Автор

If it is not working try changing the custom class name because if we create two classes with the same name in a same package it causes error

theace
Автор

Thankyou very much Thankyou man you solved my big problem ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

jaggaboss
Автор

Bro u saved me from quiting doing this for fun...no one around me who can guide, Just YT n

DesperateAnimal
Автор

Thankyou so much ...it was of great help

lavanyabodele
Автор

I have same kind of problem, and i finally figured it out, when the file name have many underline, this might have an error when compiling, and it'll work fine if just remove underline and make sure that the class name is same as file name, does anyone know why??

張春德-gd
Автор

Im getting Math cannot be resolved
I removed public then also same error y?😓😭

psyronYt
Автор

i found the solution if this video doesn't answer your problem
don't remove the package line from the top

siketermias
Автор

I am getting an error like
Exception in thread "main" java. lang. Error:unresolved compilation problems:
Scanner cannot be resolved to a type
Scanner cannot be resolved to a type

bhuvanamerugu
Автор

I removed public but still can you help me pleaaae

anabb
Автор

It's works but what's that reason behind that?

raihan
visit shbcf.ru