Java View all facts Glossary Help |
Java program |
Java program comparison table |
Subject | run by | embed in | change | decode | adhere to | consist of | load from | is an instance of | is a subtopic of | run you | write using | have example of running | contain | read | save | have purpose | need | run | is a synonym of | use when | have example | implement | be part of | is a kind of | invoke | view by | be similar to | start by | run in | have | have part | has definition | be | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
applet | an HTML page | the executing machine's environment | a set of conventions that lets it run within a Java-compatible browser | a remote or local location | Applets | type java and the class file name on the command line | Java 1.0 or Java 1.1 because most web browsers do not support later versions of Java | arguments from the command line | a main method if it is used solely in a browser | standalone | Java applet | import java.awt.Graphics; | a stop method which may be executed anytime, usually when the applet is not immediately visible | Java program | a Java-compatible Web browser | an init method |
| parameters which are passed from the HTML file to the applet when the applet is loaded |
| A program that adheres to certain conventions that allow it to run within a Java-enabled browser | an instance of Applet class, JApplet class or one of their subclasses | |||||||||||||
applet viewer | Applets | type on the command line:appletviewer file:///fileNamewhere fileName is a URL or the path to an HTML file | allows you to run applets in an html file outside a web browser | the Java Development Kit | Java program | 0 or 1 name | readable by humans | |||||||||||||||||||||||||||
application | using a Java interpreter to load the application's main class file - this is normally done from the command-line prompt using the java tool from the SDK | one or more classes | How Java Works | type java and the class file name (without its extension) on the command line | java HelloWorld | one class that contains a main method which serves as the starting point for the rest of the program | Java application | Java program | an applet | command line arguments | 1 main method called its entry point | A Java program that does not run in a Web browser | readable by humans | |||||||||||||||||||||
Java interpreter | bytecode for the Java virtual machine | How Java Works | type java and the class file name (without its extension) on the command line |
| java HelloWorld | to execute bytecode for the Java virtual machine | Java application launcher | runtime system | Java program | the main method of the class that you specify | documentation at Sun | A module that alternately decodes and executes every statement in some body of code | readable by humans | |||||||||||||||||||||
javadoc | Java program | Java Tools | type java and the class file name on the command line | documenting Java programs | Java API Document Generator | 0 or 1 name | readable by humans | |||||||||||||||||||||||||||
modular program | Programming | type java and the class file name on the command line | Java program | 0 or 1 name | A program divided into units that can be developed and maintained independently | readable by humans | ||||||||||||||||||||||||||||
simple program | Programming | type java and the class file name on the command line | money because software developers are more likely to notice defects | simplification requires a significant drop in efficiency | Java program | 0 or 1 name | easier to change than a complicated program | |||||||||||||||||||||||||||
standalone program | How Java Works | type java and the class file name on the command line | a class that defines a main method | Java program | the Java virtual machine performing the computations in the main method | 0 or 1 name | readable by humans |