※ Sun JavaSDK の jrunscript を使わない場合 Java のクラスライブラリを読み込んで object を new importPackage(java.io); var rd = new BufferedReader(new InputStreamReader(java.lang.System['in'])); var wr = new OutputStreamWriter(java.lang.System['out']);□入力のテスト >print(rd.readLine()); harahirehoro harahirehoro >※ ここでは入力した行をそのまま print してるだけなので、あんまり意味は無い… □ 出力のテスト >wr.write("hello java world"); >wr.flush(); hello java world>※ 出