简体   繁体   中英

How do I invoke methods on my objects in certain IDEs?

I am learning Java with a University that makes use of BlueJ as a learning IDE. It works very differently to full blown IDE's such as Eclipse or Netbeans, but I have these installed (along with IntelliJ) to tryout and move on to.

My question however is if there is a command line where I can simply send message sends to the Classes / packages that I am working on.

In BlueJ you can install extensions, and one such extension is a command line style window where I can fully test any elements of the project simply by invoking methods.

Does such a thing exist in NetBeans / Eclipse / IntelliJ?

Tools | JShell Console... runs such an interactive environment in IntelliJ IDEA.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM