Multiple choice technology

If you write a piece of Java ...

  1. Java automatically works both within a web page and stand-alone.

  2. You have to write separate pieces of Java if you want to run them in both a web page and stand-alone, although many

  3. If you're careful, the same piece of Java can be used both as a stand-alone program and within a web page.

  4. You run your Java first in a web page. A button then lets you save a local copy which you can run stand-alone

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Java's 'write once, run anywhere' design allows the same code to run as standalone application or applet if designed properly without platform-specific dependencies.