Java is used to create applications that will run on any computer unlike other languages, which are not cross-platform. It is used to write both full computer applications and small applets for web pages. Some of the biggest advantages of Java are as follows It runs across all platforms.
It gives a richer user experience.
It has an unique blend of mobility. (Which makes it the ideal development and deployment vehicle for mobile and wireless solutions