Java is a high-level, general-purpose, object-oriented programming language that is class-based and lets programmers write once, run anywhere. Write once, run anywhere means that compiled Java code can run on all platforms that support Java without the need to recompile. This is achieved by compiling Java applications to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture.
Java was originally developed by James Gosling at Sun Microsystems and released on May 23, 1995, as a core component of Sun Microsystems’ Java platform. It is now developed and maintained by Oracle Corporation. Its syntax is similar to C and C++, but has fewer low-level facilities than either of them and comes with garbage collection.