Python

print "hello world!"

Java

System.out.println("hello world!");

JavaScript

console.log("hello world!");

c++

cout << "Hello World!";