Java was developed by a team of computer professionals under the guidance of James Gosling at Sun Microsystems in 1991. They wanted to give a suitable name. Initially they called it “oak” after seeing an oak tree from their window, but after some weeks they were discussing another name and were sipping Java coffee, so one of them suggested the name “Java”.
Generally a language is either compiled or interpreted, but Java is both compiled as well as interpreted. First a Java program is compiled and comes in the form of “Java byte code” (which is an intermediate code). Then this Java byte code is run on interpreter to execute a program.