Java (linguage de programmation)

De Wikipedia, le encyclopedia libere
Saltar a: navigation, cercar
Java
instantia de: linguage de programmation, object-oriented programming language
parte de: Java platform


logo



sitio 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. Applications 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 esse compilate a bytecode per un compilator Java, que produce un fila appellate Hello.class.

Ligamines externe[modificar | modificar fonte]