Java (linguage de programmation)

De Wikipedia, le encyclopedia libere
Saltar a: navigation, cercar
Duke (Java mascot) waving.svg
Java
instantia de: linguage de programmation, 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[*]
parte de: Java platform[*]


data de creation: 23 maio 1995, 1995
sito web official: https://www.oracle.com/java/
Commons: Java (programming language)

Java es un linguage de programmation disveloppate per Sun Microsystems e liberate in 1995 como un componente central del platteforma Java de Sun. Le linguage deriva le plus de su syntaxe de C e C++ ma habe un concepto plus simple de objecto e minus de facilitates grado-basse. Applicationes Java es plurimo compilate a bytecode que pote currer sur qualcunque machina virtual Java (JVM) reguardo a architectura 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 fila appellate Hello.java. Iste fila depost debe esser compilate a bytecode per un compilator Java, que produce un fila appellate Hello.class.

Ligamines externe[modificar | modificar fonte]