Saltar al contento

Java (linguage de programmation)

Pending
De Wikipedia, le encyclopedia libere

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.


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]