Saturday, August 31, 2019

What is JAVA :How to learn JAVA Language


What is JAVA:


Java is an Object Oriented Programming Language developed by James Gosling and some people with him in Sun Microsystems in the year 1990. In January 1991, Bill Joey, Mike Sheraton, James Gosling, Patrick Norton and some people met in Aspen Colorado to discus a project. Java was first renamed oak but was later changed to Java. Java was developed to make software for consumer electronics such as TVs, VCRs etc.

The most important and popular feature of Java was that Java Platform Independent Work used because Java was not developed for any particular hardware or operating system. Programs created in Java can be executed on any system. Java is still the most popular language due to its features.

Features of Java:


There are many features of Java. To become a good Java programmer, you should have a good knowledge of all the features. Some of the popular features of Java are described below in Deatils.

Compiled and Interpreted:


All programming languages   are either Compiled or Interpreted. But Java gets both of these conditions to Approaches and creates a two Situation System. First of all, Byte Code generates Java program by compiling it. And then when there are no Byte Code Machine Instructions, then Java generates Machine Code by Interpretting Byte Code in another stage which can be Directly Executed.

Platform Independent:


Java makes the Byte Code platform independent. When you complain to a Java program, it gets converted into byte code. Byte code does not work on any machine or operating system. It works only on JVM Java virtual machines. To run Java programs you have to install JVM on your operating system. There is JVM for all operating systems but they all do the same. And that works, it converts the byte code into the machine code for the Operating System. Therefore the byte code generated by the JVM of one operating system can be run on any other JVM. So then JVM generates the machine code for the Operating System.

Object Oriented:


Java is an Object Oriented Programming Language, the platform is independent, so you can run it on any platform. Almost everything in Java is Object. In Java, all your information is stored as information objects.

Robust and Secure:


Java is a strong language. Any program built in Java can work in different environments without any crashed. Java Program is never Crashed Java is a very reliable language. Security in Java is provided by the JVM and some test runs on the JVM are capable of detecting invalid combinations before generating machine code.

Distributed:


You can create Distributed Applications using Java. Distributed applications are applications that are on different different networks and perform the work by mixing everything together.

Multi-threaded and Interactive:


Java is a multi-threaded language and therefore any Java program can complete multiple tasks simultaneously. And this makes the Java feature very fast and interactive.

Dynamic and Extensible

Java is a Dynamic Language Java is very Capable of performing Dynamic Linking libraries, methods and classes during run time. Java can be used easily with New Technologies.

Ease of Development:


Developing programs in Java is very easy. Java provides you with a lot of built-in Libraries which contain important classes for your use. This reduces the overhead of the programmer and the programmer can easily develop the software by accessing these Libraries.

Object Oriented Principles of Java:


Java is an Object Oriented Programming Language. Java also follows the Object Oriented Principles like all object oriented programming languages. You can read some Principles in the details below.

Encapsulation:


Encapsulation is also called Data Hiding. In Encapsulation you declare Private Variables and access them through Public Methods, your Variables can use the same Class methods. And no other class can access your variables. In this way, you can also hide and use the data.

Another use of encapsulation is to bind the data and code in a unit and prevent Approach from outside. This makes your Variables and Methods bind in the same unit.

Inheritance:


Through Inheritance, you can transport Variables of one class to another class. By doing this, you do not need to rewrite many similar methods. This saves both the computer's memory and the programmer's time. Java does not allow more than one Inheritance. A class can only inherit only one class and this deficiency completes through Java interfaces.

Polymorphism:


Polymorphism means "one name and many functions" Through Polymorphism you have to take a position from an interface according to a different action. And as such this method has been used in overloading.

Abstraction:


Abstraction is very important concept of Java. When you drive a car, you do not know how this car is working, you just run it, you do not know its internal work. The same concept of abstraction is also the same, you do not show the internal working user of your software but simply provide the interface to the user so that it keeps interacting.
Disqus Comments