Introduction to Java

JAVA James Gosling Invented Java in 1991 and it is developed by Sun Microsystems. But the first version was released in 1995. The current version of Java is Java 17. Java is an Object Oriented Programming language and it is platform-independent ( Write once and run anywhere ). Java is easy to compile, and debug and it provides reusability of code that makes development faster. The following four are important to run, compile and debug the Java application JDK - Java Development Kit JRE - Java Runtime Environment JVM - Java Virtual Machine Compiler - Java Compiler. JDK It is used to provide tools to develop Java applications it comes with Compiler, JRE, and JVM. COMPILER Java is the compiler used for compilation. The compiler will check the program syntax and if it is wrong then throw the error at compile time. If we don't hav...