[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
Java Application
What is a Java application?

A Java application, unlike most applications, is compiled into bytecode which is interpreted by the Java interpreter. Most applications are compiled into machine code, which the CPU can interpret directly.

Unlike an Java applet, an application is not meant to be run from a web browser or other container-like program; it is stand-alone, except that for the interpreter, which is used to allow the Java application to run on different system architectures (Win32, Linux, Solaris, etc.)

How is a Java application made?

A Java application typically starts in the primary class, in a method called main:

public class this_is_a_class {
	public static void main(String inputs[]) {
		//Program starts in here
	}
}


last edited (January 21, 2003) by KDivad Leahcim, Number of views: 1827, Current Rev: 3 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.