Blog Archives
Page 1 of 3
1 2 3

02: 9 Java Collection interview Q&As on choosing the right data structure

Java Collection interview Q&As on choosing the right data structure as it is vital to choose the right data structure to get the job done with proper space vs performance trade-offs.

Q1. What are the common data structures, and where would you use them?
A1.

Read more ›



02: Java 8 Streams, lambdas, intermediate vs terminal ops, and lazy loading with simple examples

A stream is an infinite sequence of consumable elements (i.e a data structure) for the consumption of an operation or iteration. Any Collection<T> can be exposed as a stream. It looks complex, but once you get it, it is very simple. The operations you perform on a stream can either...

Members Only Content
Log In Register Home


03: Understanding Big O notations

Q. Have you seen job advertisements requiring Java candidates to work in real-time or high volume transaction processing systems? If you are applying for such jobs, you can be quizzed on Big O notation. Here are some basics to brush up on. … Read more ›...

Members Only Content
Log In Register Home


04: 7 Java Collection Quizzes

Q1. When is an object needs to implement the Comparable interface? a) When adding it to a HashSet. b) When adding it to a TreeSet. c) When adding it to a LinkedHashSet. … Read more ›...

Members Only Content
Log In Register Home


05: 4 Sorting objects in Java interview Q&As

Sorting objects in Java interview Q&As especially understanding Comparable & Comparator interfaces in Java for natural & custom sorting respectively. Q1. If I mention the interface names Comparable or Comparator, what does come to your mind? … Read more ›...

Members Only Content
Log In Register Home


06: HashMap & HashSet and how do they internally work? What is a hashing function?

HashMap & HashSet are not only one of the frequently used data structures, but also one of the popular interview topics.

Q1. How does a HashMap store data?
A1. As key/value pairs. You can store and retrieve values with the keys.

Read more ›



Page 1 of 3
1 2 3

800+ Java Interview Q&As

Prepare to fast-track & go places
with multi-offers to choose from & increased earning potential. Expand your horizons along the way by taking the road less travelled.
Learn by categories on the go...
Learn by categories such as FAQs – Core Java, Key Area – Low Latency, Core Java – Java 8, JEE – Microservices, Big Data – NoSQL, etc. Some posts belong to multiple categories.
Top