WHAT IS JAVA AND ITS FEATURES?
What is java?
Java is a multipurpose programming language and also a platform. It is a high-level programming language. It is highly securable. It is also known as robust because of its memory management system.
History of Java
It was developed by the Sun Microsystems. James Gosling the developer of Java is known as a father of Java. It was first released in the year 1995. It was initially designed for the digital devices in particular for television, set-up boxes and, many more. The Java one of the best ten product of 1995 is said by ‘Time Magazine’ in 1995. First, JDK is released on 23rd January 1996. After that 12 more versions came into the industry. Now, the more stable version of the java programming language is the JAVA SE 10.
Features of Java
Java consists of enormous features that make it famous worldwide.
- Easy to learn: It is a syntax-based language. It is very simple to learn and understand the concepts of Java.
- Object-Oriented: It is also known as a pure object-oriented programming language. It implements all the concepts of Object-oriented language.
The basic attributes of the object-oriented are:
-
- Objects
- Classes
- Abstraction
- Polymorphism
- Encapsulation
- Inheritance
- Message Passing
- Platform Independent: Java is a platform-independent language. During the compilation of java code, it is converted into byte code. The byte code can run on any of the platforms. The platform includes different hardware and software environments. Examples of different platforms are windows, Mac, Linux, etc. Byte code is also known as intermediate code.
- Highly Secured: It is extremely secured because there is no concept of pointers is used in Java. Moreover, its program runs on a virtual machine. It is providing in-built security with its three features such as class loader, bytecode verifier and, default security manager. That’s why, java language is used to build an anti-virus and virus -free system.
- Robust: It is a robust language. Java has a well-built memory management system.
An Instance which makes it robust:
-
- No use of pointers.
- It also has an automatic garbage collection. It means automatically free up the memory space when space is no longer in use.
- It has a type checking mechanism.
- Multithreaded: Java uses multi-threading which helps to make multitasking applications. Threads are the smallest unit of the process. We can write a program in java which can perform the various task at a time by using the concept of thread. We use threads instead of other options because it uses the concept of the shared memory location. It doesn’t occupy much memory.
- Portable: It is portable because it generates a byte code which is an intermediate code. It does not require any implementation. The byte code can run on any of the platforms.
- Speedy: It is faster than the other traditional language but slower than the compiled language. It is interpreted Language. It means it checks the code line by line.