Himaanshu Shukla#Collections: Part 4- A Guide to Hash Table in JavaWhat is a Hashtable? Java Hashtable class implements Map, which maps keys to values. It operates on the concept of Hashing, where each key…Jul 71Jul 71
Himaanshu Shukla#Collections: Part 3- A Guide to HashMap in JavaHow null key is handled in HashMap? Since equals() and hashCode() are used to store and retrieve values, how does it work in the case of…Jul 6Jul 6
Himaanshu Shukla#Collections: Part 2- A Guide to HashMap in JavaWhat is Hash Map in Java? In Java, a HashMap is a data structure that implements the Map interface and stores key-value pairs. It allows…Jul 61Jul 61
Himaanshu Shukla#Collections: Part 1 A Guide to Map in JavaWhat is a Map in Java? In Java, a Map is an interface that represents a collection of key-value pairs where each key is unique within the…Jul 6Jul 6
Himaanshu Shukla#WebSockets: Part 3 Key components of the Java WebSocket APIIn Part 1, we discussed some basic Socket programming interview questions. In Part 2 we discussed some basics of WebSockets. In part 3 we…Dec 28, 2023Dec 28, 2023
Himaanshu Shukla#WebSockets: Part 2 WebSockets Interview Questions in JavaIn Part 1, we discussed some basic Socket programming interview questions. In part 2 we will discuss WebSockets.Dec 27, 2023Dec 27, 2023
Himaanshu Shukla#WebSockets: Part 1 Socket Programming Interview Questions in JavaRecently in one of my freelance projects, I was asked to replace existing Java Sockets with the websockets. In this series of tutorials, I…Dec 26, 2023Dec 26, 2023
Himaanshu ShuklaFor loop or Foreach, which one is faster in Java?When I was looking for a job in 2019, one of the questions I was asked was whether we should iterate through an ArrayList using a for or…Jun 18, 20225Jun 18, 20225
Himaanshu ShuklaPart 3: Microservices Interview Questions And AnswersWhat is the difference between Mock and Stub? A Mock is generally a dummy object where certain features are set into it initially. Its…Jun 12, 2022Jun 12, 2022