Java Programming quiz, level Basics, question 15
| Question: | If you write a piece of Java ... |
| Answer 1: | If you're careful, the same piece of Java can be used both as a stand-alone program and within a web page. This was the CORRECT answer |
| Answer 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 of the objects will be shareable. |
| Answer 3: | Java automatically works both within a web page and stand-alone. |
| Answer 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 later. |
This was a question from our quiz ... but we have now provided you with
the answer (above) - we prefer to provide you with information rather than to
puzzle you.
|
|