Answer:

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" 
codebase="https://chortle.ccsu.ctstateu.edu/CS151/Notes/appendixA"
width="250" height="200">
</applet>

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.

QUESTION 5:

Did it work?