Java error - bad source file: file does not contain class x . Please remove or make sure it appears

后端 未结 5 1378
你的背包
你的背包 2020-11-30 12:36

Recently started studying Java for an exam.

While learning packages, tried this and got an error message. What I did was,




        
5条回答
  •  孤街浪徒
    2020-11-30 13:27

    I have the same problem finally,

    I was solved.

    //Use like this
    import com.test.helpers.A;
    

    If u have a more than class in com.test.helpers then u can use import com.test.helpers.*;

提交回复
热议问题