Why Java?

Java is a highly popular programming language that was developed in 1995 by James Gosling. Even though Java is quite old, it continues to be a top language to be learnt for development purposes.

The main features of Java are:

  1. Platform Independent / Portable: Java is a platform independent language unlike other languages including C and C++. This is due to the fact that the code is compiled into platform-independent _byte code_rather than platform-specific machines.
  2. Object-Oriented: Java is an object-oriented language which means that everything in Java is based on _Objects _and Classes. This helps in solving complex problems easily using the Object-Oriented methodology.
  3. Multithreading: This feature allows developers to build applications where tasks can be performed simultaneously and thus, ensure that the applications run smoothly.

Java, being a versatile language, can be used to develop:

  1. Android Applications
  2. Desktop Applications
  3. Enterprise Applications
  4. Web Applications

With all these features and uses, learning Java is a top priority for developers. Now without further ado, let’s dive into how to get started.

Step 1: Get acquainted with the Syntax.

Learning how to program a “Hello World” in a particular programming language is analogous to learning alphabets for learning a human language.

This is how we write the program in Java

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

Start with learning the meaning and importance of each keyword in the above block of code, why do we use it and when do we use it.

#java #software-development #programming #software-engineering #programming-languages

Getting Started With Java
1.20 GEEK