A good answer might be:

Yes. This is part of the reason for the popularity of Java.

Applets

An applet is a Java bytecode program that runs on a Web browser. Most up-to-date Web browsers include a Java interpreter. A Web page on a host computer on the Internet can contain instructions that send Java bytecodes to a client computer (like yours) that has asked to view the page. The Web browser on the client runs the Java applet with its built-in interpreter.

Applets are used for user interaction, graphics, and animation. Applets will be discussed in later chapters of these notes. For now, let us concentrate on Java programs that get input from the keyboard and write output to the DOS window of the monitor. These are called Java application programs.

QUESTION 9:

Is the Java used to write applets different from that used to write applications?