Java is the most popular object-oriented general-purpose programming language developed by Sun Microsystems and initiated by James Gosling. This is a widely used programming language and can help to run programs written in any language.
Java was designed keeping in mind to have as less dependencies as possible. Java code can run on any Java-enabled platform without recompiling the code called “Write Once and Run Anywhere”. This is achieved by compiling Java in intermediate language called ByteCode which is platform independent language.