Java (linguage de programmation)

De Wikipedia, le encyclopedia libere
Saltar a: navigation, cercar
Duke (Java mascot) waving.svg
Java
instantia de: object-oriented programming language[*], multi-paradigm programming language[*], class-based programming language[*], structured programming language[*], imperative programming language[*], generic programming language[*], reflective programming language[*], concurrent programming language[*], concurrent object-oriented programming language[*], functional programming language[*], linguage de programmation
parte de: Java platform[*]


data de creation: 23 maio 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]