One of the efficient ways to deal with runtime failures in Java is through exception handling, which helps to maintain the application’s normal flow. Runtime issues like ClassNotFoundException, IOException, SQLException, RemoteException, etc. are handled via Java’s exception handling framework. What is an exception? An exception is a disruptive occurrence that takes place at run time, […]
June 18, 2022 | Java | No comments
Let us now compare Java Virtual Machine, JRE, and JDK. The following are the key distinctions between JDK, JRE, and JVM. Sr. No. Key JDK JRE JVM 1 Definition The Java Development Kit (JDK) is a software development kit for creating Java applications. JDK includes a number of development tools in addition to JRE (compilers, […]
April 19, 2022 | Java | No comments
Programs written in Java are compiled into Java Byte code, which is then interpreted by a special Java Interpreter for a specific platform. Actually, this Java interpreter is known as the Java Virtual Machine(JVM). The machine language for the Java Virtual Machine is called Java byte code. The Java interpreter, when run on any machine, […]
April 17, 2022 | Java | No comments