Apologies for my stupidity if this question has an obvious solution, but I just can't figure out how to make my IntelliJ to run the class I want. I've looked at another post on Eclipse running wrong class and the answer doesn't seem to apply to my case.
This is the run configuration of EX1
Edit1: My bad, I meant that I want to IntelliJ is running the previous class when I'm trying to run a new one
Edit2: Nevermind, I've solved it by changing my java compiler from javac to eclipse's one in the settings: solution
如果我没记错的话,可以将鼠标光标悬停在定义类的行的linenum字段上,然后按绿色的播放按钮
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.