Category:Java: Difference between revisions

From Rosetta Code
Content added Content deleted
(Added features)
m (Missed a pipe)
Line 5: Line 5:
|express=explicit
|express=explicit
|compat=nominative
|compat=nominative
checking=static}}The '''Java''' programming language, developed by [[Sun Microsystems]], is a language aimed at allowing "high-performance", virtual application development.
|checking=static}}The '''Java''' programming language, developed by [[Sun Microsystems]], is a language aimed at allowing "high-performance", virtual application development.


Java source files (.java files) are typically [[Compiler|compiled]] to an intermediate [[bytecode]] language (.class files) and executed by a [[Java Virtual Machine]]. Most modern JVMs further compile the bytecode into your processor's native machine code during execution. This native code translation is done via a [[Just-In-Time|JIT]] compiler that is built in to the JVM. Some Java compilers (such as [[GCJ]]) can compile Java code to native machine code ahead-of-time rather than just-in-time.
Java source files (.java files) are typically [[Compiler|compiled]] to an intermediate [[bytecode]] language (.class files) and executed by a [[Java Virtual Machine]]. Most modern JVMs further compile the bytecode into your processor's native machine code during execution. This native code translation is done via a [[Just-In-Time|JIT]] compiler that is built in to the JVM. Some Java compilers (such as [[GCJ]]) can compile Java code to native machine code ahead-of-time rather than just-in-time.

Revision as of 01:44, 6 June 2009

Language
Java
This programming language may be used to instruct a computer to perform a task.
Garbage collected: Yes
Parameter passing methods: By value
Type safety: Safe
Type compatibility: Nominative
Type expression: Explicit
Type checking: Static
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Java.

The Java programming language, developed by Sun Microsystems, is a language aimed at allowing "high-performance", virtual application development.

Java source files (.java files) are typically compiled to an intermediate bytecode language (.class files) and executed by a Java Virtual Machine. Most modern JVMs further compile the bytecode into your processor's native machine code during execution. This native code translation is done via a JIT compiler that is built in to the JVM. Some Java compilers (such as GCJ) can compile Java code to native machine code ahead-of-time rather than just-in-time.

The primary benefits of Java are:

Java is used in a variety of environments including desktop applications, embedded device (PDA and wireless phone) applications, server-side web page serving applications (as JSP), and applets embedded in web pages.

There are a variety of arguments regarding Java's performance compared to other popular languages like C++. Some come to the conclusion that the programmer's choices make a bigger difference on performance in each language. Most show that each language is better than the other at specific types of operations (i.e. Java for memory allocation, C++ for numerical operations). An extensive summary of comparisons between Java and C++ can be found on Wikipedia.

According to some sources, Java is currently the most popular programming language in the world.

Useful Java links:

Subcategories

This category has the following 3 subcategories, out of 3 total.

Pages in category "Java"

The following 200 pages are in this category, out of 1,340 total.

(previous page) (next page)

A

(previous page) (next page)