Java is one of the computer programming Language,It has been developed in the year of the 1991 at Sun Microsystems. which is intended for controlling home appliances through wide variety of processors.
Java has been developed by James Gosling and his Team.
First they have considered C++ but it has been rejected due to following reasons.
They intended to develop embedded system with limited resources.
C++ is needed considerably more amount of memory.
The complexity of C++ high which may lead to developer errors.
There is no automatic garbage collection of system memory in C++.
C++ is not a portable language in terms of running it into all the devices.
So, due to limitations of the C++, James Gosling and his team has decided to start developing a new language later which is named as Java.