Jun 13, 2016 at 09:40 am

Did you know...?

Update posted by Black2 Black

'Hello World!' is a very simple program in most programming languages, it is often used to illustrate the basic syntax of a programming language for a working program.

I'll give some examples from different programming languages:

Python 2.7.x: print 'Hello World!'

Python 3.x: print ('Hello World!')

C++: #include

using namespace std;

int main() {

cout << "Hello World" << endl;

}

Java: public class HelloWorld {

public static void main(String[] args) { System.out.println("Hello, World");

}

}

Back to campaign page