Introduction to Java and write Hello World program in Java

Introduction to Java and write Hello World program in Java

Hello Hashnode Family, welcome back to my first article on the Java-basics series. In this blog, we will discover the topics like what is java, features of Java, applications of Java, and write HelloWorld program in Java. Let's get started:

What is Java?

Java is a high-level, class-based, object-oriented programming language. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA). Java is one of the most popular and widely-used programming language. So, it has 1000's libraries available. Java was originally developed by James Gosling at Sun Microsystems.

Features of java:

Java is

  1. Simple and easy to understand
  2. High-level Programming Language
  3. Platform Independent Language
  4. Write Once Run Anywhere(WORA)
  5. Pure Object-Oriented programming language
  6. Case-sensitive

Applications of Java:

Java is used at:

  1. Web Applications
  2. Mobile Applications
  3. Desktop Applications
  4. Web servers
  5. Embedded Systems

Implement HelloWorld program

Create a file with the name

// Creata package
package com.hrishi.javaBasics;
// class with HelloWorld
public class HelloWorld {
    // main method 
    public static void main(String[] args) {
        System.out.println("Hello World"); 
        //above line prints the output as "Hello World" without quotes 


Thank you for reading my article. Happy coding!!