Blog Archives
1 2 3

18 Java scenarios based interview Q&As for the experienced – Part 1

Let’s look at scenarios or problem statements & how would you go about handling those scenarios in Java. These scenarios interview questions will judge your Java experience. Full list of Java scenarios based interview questions are covered at Judging your Java experience via scenarios based interview Q&As.

#1. Caching

Q01.Scenario: You need to load stock exchange security codes with price from a database and cache them for performance.… Read more ...

Tags:

18 Java scenarios based interview Q&As for the experienced – Part 2

This extends 18 Java scenarios based interview Q&As for the experienced – Part 1 #9 Single Sign-On Q09. Scenario: You have a number of applications like cash, mortgages, investments, etc where a user has to login separately into each system. For example, a user with all 3 products has to…

Read more ...


2. Asynchronous processing in Java real life examples – part-2

Extends: 1. Asynchronous processing in Java real life examples – part-1. Example 3: Trade execution reports are received & processed asynchronously If you are working in an online trading application, you may want the functionality to queue trades and process them when the stock market opens. You also asynchronously receive…

Read more ...


20 Java coding interview questions – tips & considerations

Java coding interview questions are very common in job interviews. Good coding skills are essentials for passing the peer code reviews with flying colours. Here are 17 coding tips with Java examples. Tip #1: If you are asked to write a function or code, make sure that your code fails…

Read more ...


3 key “How would you go about …” Q&As to judge Java experience

Q1. How would you go about judging the code quality of other developers? A1. 1) Code written with unit tests and progressively re-factored where necessary to make it more maintainable, testable, and readable. 2) Unit tests need to be written properly — mock objects using frameworks like Mockito and Power…

Read more ...
Tags:

30+ SDLC activities you perform as a Java developer

Don’t get overwhelmed by this activities list. This proves why employers favor experience to just academic qualifications alone. It also emphasizes the fact why good technical skills must be complimented with good soft skills and right attitudes get things done as a software developer. I also vividly remember my first…

Read more ...
Tags:

6 Key considerations in processing large files in Java

Q1. What are the key considerations in processing large files?
A1. Before jumping into coding, get the requirements.

#1 Trade-offs among CPU, Memory Usage & Disk I/O

Processing a file involves reading from the disk, processing (e.g. parsing an XML and transforming), and writing back to the disk. It is also a trade off in terms of what is more important to you like having better I/O, better CPU usage, and better memory usage.… Read more ...

Tags:

7 Java debugging interview questions & answers

Q1. How would you go about debugging thread-safety or concurrency issues? A1. #1: Manually reviewing the code for any obvious thread-safety issues. Good knowledge of multi-threading is required. #2: List all possible causes and add extensive log statements and write test cases to prove or disprove your theories. The log…

Read more ...


8 real life Java scenarios with Situation-Action-Result (i.e. SAR) technique

The SAR (Situation-Action-Result) technique is very useful to tackle open-ended questions like: 1. What were some of the challenges you had encountered, and how did you go about fixing them? 2. What are some of your achievements that you are most proud of? 3. Why do you like software engineering?…

Read more ...


9 Java Garbage Collection interview questions & answers

Java Garbage Collection interview questions & answers to ascertain your depth of Java knowledge in building industry strength Java applications. Determining optimal Garbage Collection (GC) settings is critical to achieve high throughput & low latency. Q1. In which part of memory does Java Garbage Collection (i.e. GC) occur? When does…

Read more ...


1 2 3

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.
Top