Iste programa en Java s'escribe "Ola mundo": <source lang="java"> public class HelloWorldApp { public static void main(String args) { System.out.println("Ola mundo!"); // //imprenta a string enta la consola. } } </source>