Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はファイルを持っています/project/src/config/configInterface.java。
/project/src/config/configInterface.java
隣接ディレクトリ(/project/src/anotherfolder/hereItryToUse.java)ではconfigInterface、このパッケージのインポート方法がわからないため、クラスを使用できません。
/project/src/anotherfolder/hereItryToUse.java
configInterface
どうすればいいですか?
どのIDEを使用していますか?
ctrl(cmd)+ shift + oは、Eclipseにパッケージをインポートするためのショートカットです(他の人にはわかりません)が、パッケージを確実に使用できます