Câu hỏi phỏng vấn Java
Câu hỏi

What is the difference between JDK and JRE?

Câu trả lời

The difference between JDK (Java Development Kit) and JRE (Java Runtime Environment) lies in their purposes and components.

JDK is a software development environment used for developing Java applications and applets. It includes the JRE, which is necessary for running Java programs, as well as additional development tools. The JDK is platform-specific, meaning there are different installers for Windows, macOS, Linux, and Solaris. It contains a private JVM (Java Virtual Machine), a compiler (javac), a documentation generator (Javadoc), an archiver (jar), and other tools necessary for Java application development[1][2][3][4][5][6].

On the other hand, JRE is a set of software tools designed for running Java programs. It is the implementation of JVM and provides the runtime environment necessary to execute Java applications. JRE is also platform-dependent and includes JVM, core classes, and supporting files. However, it does not contain de...

entry

entry

Gợi ý câu hỏi phỏng vấn

junior

Explain what is Binary Search?

entry

What is a Servlet?

senior

What is Perm Gen space in Heap ?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào