This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

m_p_v_13 presents ...



No description.

1483 views / 2 in the last 7 days

Tags: None

Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Wed Jun 05 00:19:37 UTC 2013


Bourne, Had to check URL reading myself. As you suspected, this works locally but not here on the site. Test accessing file via using Java's URL Class. The first two operations (below) do not throw exceptions (as evidenced by the crude output of move(100). The third does (actor did not move last 100). url = new URL(""); move(100); URLConnection conn = url.openConnection(); move(100); // open the stream and put it into BufferedReader BufferedReader br = new BufferedReader( new InputStreamReader(conn.getInputStream())); move(100);

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.