A good answer might be:

Yes—because each home computer has a copy of the data and bytecodes.

Location of Bytecodes

Often the applet bytecodes are located in the same directory as the web page (the text file.) But the code can be anywhere on the web. If the applet is somewhere else on the web, the code="" will still name the bytecode file. But now the applet tag must include codebase="some URL" to point to the directory where the code is contained. Don't name the bytecode file in the codebase!

<applet code="ExampleApplet.class" 
width="250" height="200">

Add the applet tags (above) to the following web page. This will only work if you are connected to the Web. If you have FTPed and unzipped these notes onto your own computer, you may optionally omit the codebase part of the tag (because a copy of the applet will be on your hard disk, unless I forgot to put it in the zip file.)

Add the applet tags, then click to see what the HTML does.

There is a fairly good chance that this will work. At least, I am amazed when things like this work. When working with applets at home, it is easiest to keep them in the same directory as the web page.


Did it work?