Java   View all facts   Glossary   Help
Java program > application > compiler
Next applicationHTML Converter    Upapplication    Previous applicationserver   

compiler
(Java compiler)
subjectfact 
compiler added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
chooses a constructor based on the number of the actual arguments and the types of the actual argumentsadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:36:29.0
compiles source code into bytecode    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:30.0
has definition A program to translate Java source code into code to be executed by a computeradded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:36:30.0
has purpose to translate source code written in Java into bytecode for the Java virtual machineadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:30.0
is a subtopic of How Java Works2001-10-19 11:36:30.0
is a kind of applicationadded by: JK, 2001-10-19 11:36:30.0
puts compiled code into a class file with the same name as the source file but with extension .classadded by: JK, source: On To Java, 2001-10-19 11:36:30.0
is a synonym of Java compiler2001-10-19 11:37:06.0
applicationconsists of one or more classes    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    2001-10-19 11:36:03.0
has example of running
java HelloWorld
  
2001-10-19 11:36:03.0
has part 1 main method called its entry point2001-10-19 11:36:03.0
is similar to an applet2001-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 SDK2001-10-19 11:36:03.0
may have command line arguments    2001-10-19 11:36:03.0
to run you type java and the class file name (without its extension) on the command line    2001-10-19 11:36:03.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 compiler :

Next applicationHTML Converter    Upapplication    Previous applicationserver