Java (linguage de programmation)
Apparentia
Iste articulo concerne le linguage de programmation. Pro le insula, vide Java. Pro altere usos, vide Java (disambiguation).
Java |
---|
instantia de: JVM language[*], software, multi-paradigm programming language[*] |
parte de: Java platform[*] |
|
data de creation: 1995 |
sito web official: https://www.oracle.com/java/ |
Commons: Java (programming language) |
Java es un linguage de programmation disveloppate per Sun Microsystems e publicate in 1995 como un componente central del platteforma Java de Sun (nunc Oracle). Le linguage deriva le majoritate de su syntaxe de C e C++ sed ha un concepto plus simple de objecto e minus de facilitates grado-basse. Le applicationes Java es compilate in bytecode qui pote functionar super le machina virtual Java (JVM) sin reguardo al architectura del computator.
Exemplo
[modificar | modificar fonte]Ecce le programma "Hello World" scribite in Java:
// Hello.java
public class Hello
{
public static void main(String[] args)
{
System.out.println("Hello, world!");
}
}
Pro executar iste programma, le programma debe esser salvate in un file appellate Hello.java
. Iste file depost debe esser compilate in bytecode per un compilator Java, qui produce un file appellate Hello.class
.
Ligamines externe
[modificar | modificar fonte]- http://www.oracle.com/technetwork/java/index.html -- sito de ressources Java de Oracle.
- Full Java Tutorial Archived 2007-06-18 at the Wayback Machine