Java is one of the most popular and widely used programming language.Java has been one of the most popular programming languages for many years.Java is Object Oriented. However it is not considered as pure object oriented as it provides support for primitive data types (like int, char, etc)The Java codes are first compiled into bytecode (machine independent code). Then the byte code is run on Java Virtual Machine (JVM) regardless of the underlying architecture.
Java is used in all kind of applications like Mobile Applications (Android is Java based), desktop applications, web applications, client server applications, enterprise applications and many more.When compared with C++, Java codes are generally more maintainable because Java does not allow many things which may lead bad/inefficient programming if used incorrectly. For example, non-primitives are always references in Java. So we cannot pass large objects (like we can do in C++) to functions, we always pass references in Java.