Java is a versatile language and can be used for web applications, desktop application and mobile application for the android ecosystem. Java applications are built on the server sides and connect to the web servers to handle the business logics of applications.
Java is a platform independent object oriented programming language and its main feature is write one and run anywhere. Java is used for developing all type of cross platform applications. Java is used for developing mobile, desktop and web server side and dynamic web applications.
Java is the first programming language to include security and integral part of the design. Java complier, interpreter and runtime environment were each developed with security in mind.JVM has a unique identifier that identifies the byte code and verifies it before running it.
Java has a feature of stack allocation system. It follows LIFO (Last in First Out) which helps the data to be stored and retrieved easily.
Java has great networking capability, it is designed to make distributed computing easy with the networking capability that is inheritently integrated into it.