The History of Java
Let’s first learn more about how Java came to be.
Java is a multi-platform programming language created in 1995 by James Gosling at Sun Microsystems (now Oracle).
Before its current name, the coding language was actually first named “OAK,” after an oak tree that stood outside of James Gosling’s office.
Since Sun Microsystem’s first version of Java in 1995, the language has evolved over the course of its existence.
Java was actually first originally designed for interactive television! While it was too advanced to be used with the digital cable of the time
it was well-suited to internet programming, and was named one of the Ten Best Products of 1995 by Time magazine.
Since its first release, many additional features and libraries (a collection of pre-written resources for a given coding language) have been added to Java.
As the internet became increasingly popular, more and more people began to contribute and grow Java’s collection of libraries and classes.
This growth is largely thanks to Java being an open-source language — meaning that anyone can publicly contribute to the development of it.
The open-source Java community and strong ecosystem of worldwide developers are largely responsible for helping the language evolve to where it is today.
The abundance of Java APIs and other tools built by the large developer community make it
easy to write code to accomplish complicated tasks, since a lot of the basic backend code is packaged into APIs (platforms that allow different software applications to communicate) that anyone can use.
The Java Platform Today
Today, Java is used commonly across many industries and is known as a high-level, general-purpose programming language.
- High-level means that a language is relatively similar to human languages in how its written, and is thus easier for human programmer intuitively understand and interpret.
- General-purpose languages
- in computer science refer to coding languages that can be used to build solutions for a variety of problems, opposed to being limited to a specific industry or problem type.
Advantages of java
Java is straightforward to use, write, compile, debug, and learn than alternative programming languages.
Java uses automatic memory allocation and garbage collection.
It permits you to form standard programs and reusable code.
Java code runs on any machine that doesn’t need any special software to be installed, but the JVM needs to be present on the machine.
1.4 Distributed computing
Distributed computing involves several computers on a network working together.
It helps in developing applications on networks that can contribute to both data and application functionality.
Java has no explicit pointer. Apart from this, it has a security manager that defines the access of classes.
1.6 Memory allocation
In Java, memory is divided into two parts one is heap and another is stack.
Whenever we declare a variable JVM gives memory from either stack or heap space. It helps to keep the information and restore it easily.
It has the potential for a program to perform many tasks at the same time.
disadvantages of java
Java is memory-consuming and significantly slower than natively compiled languages such as C or C++.
2.2 Look and Feel
The default look of GUI applications written in Java using the Swing toolkit is very different from native applications.
2.3 Single-Paradigm Language
Static imports were added in Java 5.0. The procedural paradigm is better accommodated than in earlier versions of Java.
2.4 Memory Management
In Java, Memory is managed through garbage collection, whenever the garbage collector runs, it affects the performance of the application.
This is because all other threads in the have to be stopped to allow the garbage collector thread to work.
Something Wrong Please Contact to Davsy Admin