Quantcast
Channel: OKWAVE 閲覧数の多い質問(Java/253)【本日】
Viewing all articles
Browse latest Browse all 68675

robocodeでデバッグしたい

$
0
0
JAVA初心者で、有識者の方教えてください。 robocodeでデバッグをしたいのですが、 ublic void run() 内に、 System.out.println("XXX"); を埋め込んで、試したのですが、 コンパイルエラーが発生してしまいます。 <環境など> robocode V1.0.7 AdvancedRobotを使用 --ここから-- Compiling... Found 1 semantic error compiling "C:/robocode/robots/date/Date.java": 10. public class Date extends AdvancedRobot <--> *** Error: The return type of method "java.io.PrintStream append(java.lang.CharSequence $1);" does not match the return type of method "java.lang.Appendable append(java.lang.CharSequence $1) throws java.io.IOException;" inherited from type "java/lang/Appendable". Compile Failed (1) --ここまで-- ロボコードAPIで、out.println();を使用できるっぽい 事が書いてありましたが、コンパイルエラーが 発生します。   どなたかご存知でしたら、 教えてください。

Viewing all articles
Browse latest Browse all 68675

Latest Images

Trending Articles

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>