What is “Hello world!” & it’s uses?

Almost all of you must have heard or seen this statement that says Hello World!. Ever wondered what does this exactly means? Let’s learn about it.

Hello World in Java

What is Hello World?

Hello world is a simple message displayed on the computer screen by a computer program with some simple codes in it.

This program could be written in different languages and causes the computer to display a simple text message.

What is the use of the Hello world program?

This program is really simple and contains the most commonly used basic codes of a programming language therefore given to new programmers to analyze its syntax and the way the program works.

Another use of this program is to check whether the programming language in which the code is written is correctly installed or not.

Let’s have a look at this program.

First hello world program

This is how a basic Hello world program which is written in C looks like. This program was written by Brian Kernighan in his book Programming in C: A Tutorial.

How to run this program?

Finally, if you are even a bit interested in these programs, you must be thinking about how to write it on your own? If yes, let me tell you how to write it.

  • You need to install a Run-Time Environment that could be of any programming language, for example, Java provides a run time environment. (I have briefly explained how to install Java into your PC by clicking here).
  • Now, write your code in the language you have installed.
  • Compile the program & run it in the installed environment or cmd.
  • There you go, a message saying Hello world will be displayed on your screen.

Your Turn!

Now it’s your turn, try writing your first-ever code in java. Share your experience with us.

Thanks for being here!

– Prateek Singh

No votes yet.
Please wait...
I am Prateek Singh and I have been coding and learning The Art of Programming for a while. I have been learning Java and a lot of languages by myself and I thought it would be great to share with those who too want to master this ART. Here, at Programmics, I will be sharing what I learned about this great ART and it will be great to learn together.
Posts created 13

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top
Share via
Copy link