Ask a simple java interview question, such as what is JRE and JDK? (a legitimate interview question) and you still will get a few incorrect answers. Apparently even Senior Java developers sometimes being confused about the functionality of JRE and JDK.
What is JRE?
JRE is Java Runtime Environment. It is obviously JVM (Java Virtual Machine), core libraries and other additional components requried to run applications and applets written in Java programming language.
What is JDK?
JDK is Java Software Development Kit, it includes JRE, compilers and tools to create, compile and debug Java programs.
Both JRE and JDK are basically a bunch of directories with Java related files, but JRE is smaller than JDK. Any user who wants to run applets and applications written using Java need JRE, while Java software developer who create applets and applications need JDK.
Before starting your job search, look at these common Java interview questions asked during real interviews and understand the answers, but instead of memorizing the answers try to complete further research and come with your own personal solution for the interview question. The more prepared you are for what you will encounter, the more successful you will be. This collection of Java interview question could be also useful for software developers who need to interview Java developer.
Top Java Interview Question And Answers
- Java Interview Question 1: Explain public static void main(String[] args) method
- Java Interview Question 2: Top Reasons To Choose Java?
- Java Interview Question 3: What is the difference between J2EE and Java EE?
- Java Interview Question 4: What is the difference between JRE and JDK?
- Java Interview Question 5: What is JVM?
- Java Interview Question 6: Brief on JVM memory structure?
- Java Interview Question 7: Explain final, finally and finalize difference?
- Java Interview Question 8: When to use private constructor?
0 comments:
Post a Comment