Monday, January 27, 2020

Why Learn Java?


Welcome to this blog. We will be posting a series of blogs as a part of our Home assignment on the topic “OOP Concepts in Java”.

Java is an Object Oriented Programming language.
A program is basically a set of instructions that a computer follows in order to execute a particular task. The two approaches for high-level programming are Object Oriented Programming and Procedure Oriented Programming. A program can be written in both the languages, but if the task is highly complex, OOP is preferred over POP. 

In POP the same data is updated as it moves through the code. This is a potential risk for ‘data security’ as well as ‘code reusability’. This makes the code lengthy and hard to understand with increased bugs.Object Oriented Programming helps us overcome these flaws. With various features like Abstraction, Encapsulation, Inheritance and Polymorphism (to be discussed later in this series) an OOP approach helps us overcome the flaws in POP approach.

Features of Java

Java is a simple language and any programmer familiar with C or C++ can become proficient in it. Also there are no structures, unions, pointers, pointer arithmetic or operator overloading in Java making it easy to understand.
Java is a platform independent language. The Java source code is converted to byte code by the compiler which can be executed on any platform on with the JVM(Java Virtual Machine).
Java has excellent API Support that includes many Java classes, packages and libraries.
Java applications are used in various sectors such as education, e-commerce, gaming, multimedia, embedded systems etc.
‘Android Studio’ which is a popular mobile application development platform uses Java.
Along with the ARM (32 bit) and THUMB (16 bit) instruction modes, the ARM processor also supports the Jazelle DBX (direct bytecode execution) an extension that executes Java bytecode in hardware.
The most important reason to learn Java is that it is the most popular language in the industry. Java developers are in high demand and are also well paid for their skills.

In the upcoming blogs we will further dive into the basic concepts and implementation of OOPs using Java.

Smruti Khire
K 38