Blog Archives

How to perform impact analysis across Java based applications?

Performing impact analysis is a crucial software development task. It is all about calculating the impact of software change.

Q1. What is an impact analysis? Is it a trivial task?
A1. An impact analysis is about being able to tell which pieces of code,

Read more ›

How to write internationalized Java applications?

This post answers questions like — How to write internationalized Java applications? What do you understand by the terms internationalization (i18n) and localization (l10n) relating to Java programming? What is a ResourceBundle?

Localization (aka i10n, where 10 is the number of letters between the letter ‘i’ and the letter ‘n’ in the word localization ) refers to the adaptation of an application or a component to meet the language,

Read more ›

Understanding atomicity with a Java example

Q. Explain how you would get thread-safety issues due to non-atomic operations with a code example? A. The code snippets below demonstrate non-atomic operations producing incorrect results. The program below uses a “Counter” object, that is shared between three concurrent users (i.e. … Read more ›...

Working with .properties config files in Java

Managing properties for an enterprise application can be a bit trickier than one might expect.

Q: How would you go about managing properties files in your application?
A: One great advantage of property files is that they let you change your application’s configuration without recompilation.

Read more ›

Java Interview FAQs

800+ Java Interview Q&As