Blog Archives
1 2 3 4 5 9

00: Top 50+ Core Java interview questions answered – Q1 to Q10

These are must know Java interview FAQs. If you don’t get these Java interview questions right, you will not be getting an offer.

Q1. What is the difference between “==” and “equals(…)”

Read more ›



00: Top 50+ Core Java interview questions answered – Q11 to Q23

The focus is on Java OOP interview questions and answers. Q11. What is the difference between constructors and other regular methods? A11. Constructors must have the same name as the...



00: Top 50+ Core Java interview questions answered – Q24 to Q36

Focus is on Java classes, interfaces and generics the interview questions and answers style. Java classes and interfaces are the building blocks. Q24. … Read more ›...



00: Top 50+ Core Java interview questions answered – Q37 to Q42

As a Java developer, you may not need to know how the JVM works, but the most important topic that you must know is Java Garbage Collection. How the Garbage...



00: Top 50+ Core Java Interview questions answered – Q43 to Q54

Q43. What can you tell about the performance of a HashMap compared to a TreeMap? Which one would you prefer? A43. … Read more ›...



00: Tree from a list & flattening it back to a list in Java

Hierarchical data with parent & child relationships are very common, and Java collection does not have a Tree data structure, hence it is a popular interview question. Further questions include tree data structure processing using recursiion &

Read more ›



01: 12 Maven interview Questions & Answers

Q1. What is the difference between snapshot versions and release versions? A1. The term “SNAPSHOT” means the build is a snapshot of your code at a given time, … Read...



01: 12 Web basics every Java web developer must know – Part 1

Q1. HTTP is a stateless protocol, so how do you maintain state? How do you store user data between requests? A1. This is a commonly asked interview question. … Read...



01: 12+ Git Source control must know basics interview Q&As

Q1. How does Git differ from SVN? A1. #1. Git is a distributed source control system meaning that there will be multiple client repositories. … Read more ›...



01: 14 Unix must-know interview Q&As

Q1 How do you remove the Control-M characters from a file? A1 Using the sed command that replaces Control-M with nothing Note: The ^M is typed on the command line...



01: 19 Java 8 Functional Programming FAQs

Good handle on Java OOP concepts and FP concepts are very important NOT only from writing quality code perspective, but also from job interviews perspective to be able to do well in written tests &

Read more ›



01: 7 must know Java Web Services Interview Q&As

As an enterprise Java developer, you will be spending more time integrating systems via Java web services & messaging. Java Web Services interview questions are must know for the Java developers.

Read more ›



01: 7+ Java architectural patterns interview Q&As – Part 1

One of the very frequently asked open-ended interview questions for anyone experienced is: Can you describe the high-level architecture of a recent application you had worked on? … Read more...



01: AWS Q&As on VPC, Subnets, Availability Zones, VPN, Route tables, NACLs & Security Groups

The above diagram addresses many of the questions that follow. Q1. What is a VPC in AWS? A1. A virtual private cloud (VPC) is a virtual network dedicated to your...



01: Can you design classes & interfaces using OO?

Q1. How would you go about designing a “farm animals” application where animals like cow, pig, horse, etc move from a barn to pasture, a stable to paddock, … Read...



01: JUnit with Mockito step by step

Step 1: Create a simple maven project say “code-quality”

Step 2: Import into eclipse.

#1. Validator code & unit testing

Step 3: Validator interface &

Read more ›



01: jvisualvm tutorial to sample Java heap memory

Java does not have a sizeof operator like C++ does. Java uses automatic memory management known as the Garbage Collection, hence it is not that important to evaluate size of...



01: Q01 – Q07 Spring core interview Q&As

Spring interview questions are very common for the Java programmer jobs.

Q1. What do you understand by the terms Dependency Inversion Principle (DIP),

Read more ›



01: Q07 – Q12 Java Micro & Web services Interview Q&As

Covers “Debugging & troubleshooting a complex distributed system” & “Low latency between fine-grained services“, which are popular interview questions. Extends Java Web Services Basics Interview Q&As – … Read more...



01: Q13 “12 Rules” for REST API design & development

These are more like rules to develop RESTFul web services as opposed to being the best practices. REST is an architectural style without any contracts or specifications. So, it is...



01: Spring DI & IoC interview Q&As

Video: Spring DIP, DI, and IoC. This extends 13 Spring interview questions & answers.

Q1. What do you understand by the terms Dependency Inversion Principle (DIP),

Read more ›



01: String parsing & date formatting – complete the given code

Q. Complete the method “changeDateFormat(String paragraph)” which takes a string input containing dates in mm/dd/yyyy format and converts them to “dd/mm/yyyy” format. For example, “My birthday is on 04/25/1980

Read more ›



01: Tree flattening example in Java

Q. Traverse the tree in depth and return a list of all passed nodes. It should handle different data types as Double, String, etc. The4 interface for the tree node...



01: What is wrong with following Java code snippets? Auto-unboxing, switch, short circuit & exception

Auto-unboxing, switch, short circuit logical operators & exception handling are core Java basics that sometimes lead to obscure errors if not understood well & often tested in coding tests. Q1....



01b: Q08 – Q13 Spring interview Q&As

This extends 13 Spring basics Q1 – Q7 interview questions & answers. Q8. Can you describe the high level Spring architecture? A8. … Read more ›...



02: 10 Java String class interview Q&As

Java Collection interview questions and answers and Java String class interview questions and answers are must know for any Java developer as these two APIs are the most frequently used in your Java application code.

Read more ›



02: 15 key considerations for low latency Java

Extends Writing low latency applications in Java interview Q&As. If the job description says “low latency” application, then be prepared. Even if “low latency” … Read more ›...



02: 5 Java multithreading scenarios interview

Java interview questions & answers on multithreading scenarios to judge your experience in building applications with concurrency in mind. Q1. Can you give some scenarios where you built concurrent systems?...



02: 6 Java RESTful Web services Interview Q&As

Q1. What is RESTful Web service, and why is it favored over SOAP Web service? A1. REST stands for REpresentational State Transfer (REST), which is a stateless software architecture that...



02: 6 More Git interview Q&As

Extending 8 Git Source control system interview questions & answers. Q1. What do you understand by the term patch or pull request? A1. … Read more ›...



1 2 3 4 5 9

800+ Java Interview Q&As

Top