Java Interview Question Tips For Entry Level Developers
If you are reading my title “Java Interview Question Tips For Entry Level Developers”, I can consider that you are somewhere around 0-1 year of experience java developer. You might have studied 1 or 2 java books and skimmed few website to learn java and working in java project. When you claim that you know java and having few months to 1 year of experience, the interviewer expect you must be aware of following items as listed below. If you are faking during java interview, a smart java lead interviewer can catch you and from that point onward, you are out of the game.
Java Interview Question classified under different categories
- Awareness About Java/JRE/JDK versions
- Java major version feature difference
- Java Integrated Development Environment (IDE) like Eclipse, NetBenas etc
- Debugging Awareness using IDE
- Basic Java Questions (In Depth Knowledge and application development knowledge)
- Advance Java Awareness (JDBC/Sprint/Hibernate etc)
- JUnit Knowledge
- Build Process (Jenkins/Maven/CI-Continuous Integration)
- Code Quality Guidelines
- PMD & Sonar Cube Reports
- Explain your development process (waterfall or Agile)
- Other tool and techniques used during development process
You should have a fair knowledge on all the above area and categories. Some people just prepare for java interview questions but fail to answers other questions and then get rejected.
Interview Question on Java/JRE/JDK versions awareness
Interviewer might ask any of the following question(s) during interview process to validate how attentive you are when using java as programming language . Answering below questions does not guarantee a success, but if you are not on the top of these question, there is a good chance that you will be rejected
- Which version of Java (or JDK) you used in your project?
- What is the current Version of Java?
- Why is your project not working latest version of Java?
- JRE and JDK are same, if not what is the difference?
- If you have to install JDK 1.7 and 1.8 together, how can you do that?
- Are you using Oracle JDK or any other implementation?
- What is the Java Archive?
- Can you explain what is JAR, WAR & EAR?
- How do you make executable JAR?
- What META-INF file contains?
Java Interview Question Tips about your current or favourite project
Not necessary that every interviewer has habit of asking from your current project but some senior folks who comes to interview candidate look into resume and ask questions from your current java project. If you fail to answer or satisfactory response, there is a good chance that either you would not make it or you will be declared as a mediocre candidate. I suggest to review below tips and evaluate how you can answer them, if not retrospect why you they look cryptic to you .
- Can you explain your application architecture?
- Do you have any document in your team which describe the application architecture?
- Who has written the architecture document?
- What all are different section your architecture document has?
- How does logging work in your application?
- Which Logging API your project is using?
- How exception handling is done in your application?
- Do you have any authentication mechanism in your application?
- What kind of security framework is used?
- How do you manage session in your application (assume it is web application)?
- Which module or functionality you worked on?
- How did you receive the functionality detail (via requirement document or SRS or functional specs etc)?
- How did plan implementing
- What coding guidelines you followed?
- Who prepared that coding guideline in your project?
- Do you have any JUnit coverage guideline?
- What IDE you have used in your project?
- Which static code analyser you have used?
- What general issues you have noticed when you used static code analyzer in your project?
- Who reviewed your code in your team?
- What kind of code review issues have been received?
- Why do you think code review is very important and how does it help?
- Have you used any Java profiling tool?
- What is the version control system in your application?
- Do you follow any branching strategy in your project?
- Where do you log functional bugs?
- What kind of bugs have been raised for your module and why?
- Do you follow RCA (Root Cause analysis) and Preventive Action?
- What is your quality goals when you write code?
- What kind of measure you follow to ensure good code quality?
If you answer is “No” or “we have not followed”, then you might be asked “why not” and what is your awareness about that practice. Being a junior or entry level developer, you would not even know if such thing exist, but if you handle these questions appropriately, your chances increases to crack the interview. Soon or later you must know the answer and applicability of all such question.