Java   View all facts   Glossary   Help
Java program > application
Next Java programJava interpreter    UpJava program    Previous Java programapplet viewer   

application
(Java application)
subjectfact 
applicationconsists of one or more classes    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
contains one class that contains a main method which serves as the starting point for the rest of the program    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
has definition A Java program that does not run in a Web browser    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
has example of running
java HelloWorld
  
added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
has part 1 main method called its entry pointadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:03.0
is similar to an appletadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:03.0
is a subtopic of How Java Works2001-10-19 11:36:03.0
is run by 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 SDKadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
is a kind of Java programadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:03.0
may have command line arguments    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
to run you type java and the class file name (without its extension) on the command line    added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:03.0
is a synonym of Java application2001-10-19 11:37:05.0
Java programcan be compiled on any platform that has a Java compiler    2001-10-19 11:37:09.0
can be run on any implementation of the Java Virtual Machine specification    2001-10-19 11:37:09.0
is portable because it is compiled into bytecode that can run on any computer with a Java Virtual Machine    2001-10-19 11:37:09.0
is usually slower than native code2001-10-19 11:37:09.0
is executed by a Java Virtual Machine2001-10-19 11:37:09.0
must be readable by humans2001-10-19 11:37:09.0
runs on a Java platform2001-10-19 11:37:09.0
should follow consistent guidelines that make the program easy to read2001-10-19 11:37:09.0
to run you may need platform-specific instructions2001-10-19 11:37:09.0

Kinds of application :

Next Java programJava interpreter    UpJava program    Previous Java programapplet viewer