Java is an object-oriented and platform independent programming language.
Features of Java
Java compiler generates byte-code which makes Java more secure. It has auto garbage collection which protects java from memory leak. The code of Java is very robust and secure because the program runs inside virtual machine sandbox. It has built-in multi-thread support.
There are lots of open source libraries which developers can use for building applications.
Use of Java
Java is used for web applications, mobile applications like androids app, developing games, electronics trading system . It is also used to design GUI and web servers.
The applications which are developed by java run only those machine where Java Runtime Environment is installed.