Prerequisite: if want to work with Maven & eclipse

Here are the basic steps as to how I set up “passing” project using maven & eclipse for the coding exercises. If you are using other IDEs or command line approach then you can ignore this prerequisite. Just create the relevant packages and copy the classes in the passing the test exercises. Using Maven or not, you need the 2 jar files as dependencies to use JUnit.


Step 1: Set up Java, Maven, and Eclipse on your machine following the steps in Setting up Java, Maven, and eclipse

Step 2: Generate a simple project using Maven

Step 3: This should create a basic Maven structure with a pom.xml shown below. We need JUnit framework to write unit tests.


Step 4: You can import this into eclipse with File –> Import. and then “Existing Maven Projects”, and then select


Press next, and tick the check box shown below


Step 5: You can now start working within eclipse. You can create new classes, etc.


Just create the relevant packages and copy the classes in the passing the test exercises.

Java Developer & Architect Interview Q&As

Java & Big Data Tutorials

Prepare to fast-track & go places

FAQs are marked with 🔥 as some questions are not only more popular with the interviewers, but also required to build robust systems. If you are an interviewer, cover well rounded topics to judge real experience.

Don't be overwhelmed by the number of questions as the technology stacks are so vast. The quality of the answers you provide to some of the key technical & open-ended questions along with your soft skills & attitude will go a long way in getting the job offers.

Note: Some Q&As belong to more than one category.