Java   View all facts   Glossary   Help
Java program
Next kbTopmechanism    UpkbTop    Previous kbTopidentity   

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 pagethe executing machine's environment a set of conventions that lets it run within a Java-compatible browser a remote or local location Appletstype java and the class file name on the command lineJava 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 browserstandaloneJava applet 
import java.awt.Graphics;
class HelloWorldApplet extends java.applet.Applet {
public void paint(Graphics g) {
g.drawString("HelloWorld!",5,25);
}
}
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 methodparameters which are passed from the HTML file to the applet when the applet is loadedA program that adheres to certain conventions that allow it to run within a Java-enabled browseran instance of Applet class, JApplet class or one of their subclasses
applet viewer        Appletstype on the command line:
appletviewer file:///fileName
where 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 KitJava program     0 or 1 name  readable by humans
applicationusing 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 Workstype 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 arguments1 main method called its entry pointA Java program that does not run in a Web browserreadable by humans
Java interpreter   bytecode for the Java virtual machine    How Java Workstype 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 systemJava programthe main method of the class that you specify    documentation at Sun A module that alternately decodes and executes every statement in some body of codereadable by humans
javadoc       Java programJava Toolstype 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        Programmingtype 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 independentlyreadable by humans
simple program        Programmingtype 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 Workstype 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

Next kbTopmechanism    UpkbTop    Previous kbTopidentity