Blog Archives
1 2

00: Top 50+ Core Java interview questions & answers – Q01 – Q10

Top 50 core Java interview questions covering core Java concepts with diagrams, code, examples, and scenarios. If you don’t get these Java interview questions right, you will not be getting an offer.

== Vs equals(…)

Q1. What is the difference between “==” and “equals(…)” in comparing Java String objects?

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 & iteration. A Tree data structure can be represented as shown below.

Step 1: A simple Node.java class that encapsulates its value,

Read more ›



01: 14 Unix must-know interview questions & answers

Q1 How do you remove the Control-M characters from a file?
A1 Control-M is a carriage return on keyboard. The ^M is the keyboard equivalent to \r. In a file originated from DOS/Windows the \r\n is used for an end of line carriage return, whereas in Unix it is \n for a new line.

Read more ›



01: 15+ Java multithreading interview questions & answers

Multithreading is one of the important features of Java, and multithreading interview Q&As can reveal a lot about your depth of core Java knowledge. Most importantly, it is not easy to grasp multithreading concepts without lots of hands-on experience. Let’s start with the beginner basics & then get into Java concurrency management interview Q&As for the experienced.

Read more ›



01: 30+ Java architect interview questions & answers – 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? You can be asked:

1) to draw an architectural diagram on a white board and
2) to provide a brief description of the architecture,

Read more ›



01: Q01 – Q07 Spring framework core interview Q&As

Spring framework interview questions are very common for the Java programmer jobs. This covers Spring framework beginner interview questions on the Spring core and more advanced Spring framework interview questions at Java microservices interview questions.

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

Read more ›



03: Kubernetes (i.e. Minikube) – deploy a spring boot microservice app

This extends Kubernetes (i.e. Minikube) – deploy a node js service.

Docker containers & Kubernetes for deploying Spring Boot microservices. As mentioned earlier in Kubernetes, Docker & Microservices interview Questions & Answers.

Docker gives you application isolation, and solves the dependency hell issues.

Read more ›



04: Top 10 most common Core Java beginner mistakes

Mistake #1: Using floating point data types like float or double for monetary calculations. This can lead to rounding issues.

In the above code, 2, 4, and 5 are correct and 1 and 3 are incorrect usage leading to rounding issues.

Read more ›



05: Finding the 2nd highest number in an array in Java

Requirements gathering

  1. Does the array allow duplicates?
  2. If duplicates are allowed, then do you need to report duplicates? For example, in {2,4, 6, 3, 6, 5}, is 6 or 5 the second highest?

Analysis

  • If duplicates are not allowed, sort the array (Arrays.sort(…)) and get the second last element,

Read more ›



10 Distributed storage & computing systems interview Q&As – Big Data

A distributed system consists of multiple software components that are on multiple computers (aka nodes), but run as a single system. These components can be stateful, stateless, or serverless, and these components can be created in different languages running on hybrid environments, using open-source technologies, open standards, and interoperability.

Q01.

Read more ›



15 Ice breaker interview Q&As asked 90% of the time

Most interviews start with these 15 open-ended questions. These are ice breaker interview questions with no right or wrong answers to ease nervousness, but the quality of the answers can make a good first impression. Your answer can reveal a lot about your experience &

Read more ›



16+ Tech Key Areas to go places as an experienced Java engineer or architect

Java Engineers, Big Data Engineers & Java/Big Data Architects must have a good handle on these 16+ Tech Key areas. You can talk the talk in Java or Big Data job interviews & also walk the walk by gaining a reputation as a go to person.



17 Java getting started interview questions and answers

These 17 beginner Java interview questions & answers are not only for the entry level job interviews, but also get a good grasp of the beginner level Java concepts.

Q1. Why use Java?
A1. Java is a very popular language as per the TIOBE index.

Read more ›



1 2

300+ Java Interview FAQs

Tutorials on Java & Big Data