Java programming language was invented by a team under the guidance of “James Gosling” at Sun Microsystems in 1995. Java is a Platform independent language. Java is used for internet applications, mobile applications and consumer devices. Java is platform independent language because of its byte code which can be executed by JVM (Java Virtual Machine). Java is both a compiled and interpreted language because program written in JAVA is first converted into Byte Code (Intermediate Code) by Java compiler which is then executed by Java Interpreter.