Hello World - First Java Programme

Java is a popular general-purpose programming language and computing platform. It is fast, reliable, and secure. According to Oracle, the company that owns Java, Java runs on 3 billion devices worldwide.

Often, a program called Hello World is used to introduce a new programming language to beginners. It is a simple program that outputs Hello, World!. In this section, you will learn to write the same program in Java using Eclipse. you can download eclipse from link given.

  1. Open Eclipse.
  2. Go to File > New > Java Project
  3. Give the Project Name. We will call it Hello World for now and click Finish
  4. Now, you need to create a new Java class.
  5. Select Hello World project in the left sidebar. When the project is selected, go to File > New > Class and give Name to the class and click Finish. We will call it HelloWorld.
  6. Copy the following code in HelloWorld.java file and save it.

  7. Finally, hit run button. If everything goes right, you will see Hello, World! output on the screen.

Now you are all done guyz, if you got any trouble while coding let me know,
i am here for you guyz...

Follow me on: