Rohit chopra
Mar 6, 20233 min read
Java 17 - Collections Stream API
The Java Stream API is a powerful tool for processing collections of data in a functional and declarative way. Introduced in Java 8, the...
230
Rajan Chopra
Mar 2, 20234 min read
Java Reflections
Java Reflection: An Introduction Java Reflection is a powerful feature that allows developers to examine and manipulate the structure,...
140
Rohit chopra
Feb 26, 20237 min read
Java 9 Interview Questions with Explanation
Checkout these other important topics as well - What is the difference between a HashMap and a ConcurrentHashMap in Java 9? A HashMap is...
930
Rohit chopra
Feb 25, 20234 min read
30 important Java Interview Questions : Must Know
What is the difference between an interface and an abstract class in Java? Answer: An interface is a contract that defines a set of...
2160
Rohit chopra
Feb 25, 20234 min read
Spring Batch Tutorial : Everything you need to be up and running with Spring Batch
Introduction to Spring Batch: Spring Batch is a powerful framework for building batch processing applications in Java. It provides a set...
180
Rohit chopra
Feb 25, 20231 min read
Java: Asynchronous Programming Using Completable Futures
Introduction: In Java, the CompletableFuture class provides a way to perform asynchronous programming by allowing you to chain multiple...
80
Rohit chopra
Feb 25, 20232 min read
Java : Synchronization Between Threads - Interview Code Example
Introduction: In Java, synchronization can be used to ensure that only one thread can access a critical section of code at a time. This...
60
Rohit chopra
Feb 24, 20232 min read
Java : Handling Concurrency through Atomic Integers
Introduction: In Java, multiple threads can access and modify the same variable concurrently, leading to race conditions and incorrect...
310
Rohit chopra
Feb 24, 20232 min read
Java : Semaphore Concept and Example
Introduction: A semaphore is a synchronization tool that restricts access to shared resources or critical sections of code by using a...
2710
Rohit chopra
Feb 22, 20232 min read
Vavr Library In Java: Either Code Example
Introduction: Vavr is a functional programming library for Java that provides immutable collections, functional control structures, and...
1040
Rohit chopra
Feb 21, 20232 min read
VaVr Library in Java : Try Example
Vavr Try functionality can be used to handle the exceptions and continue with the flow. We can check by wrapping the method return value...
2160
Rohit chopra
Feb 21, 20232 min read
VaVr Library In Java : List Example
Vavr is a functional programming library for Java that provides immutable collections, functional control structures, and more. Here's an...
150
Rohit chopra
Feb 13, 20232 min read
Bellman Ford Algorithm
The Bellman-Ford algorithm is an algorithm for finding the shortest distances from a single source node to all other nodes in a weighted...
290
Rohit chopra
Feb 11, 20233 min read
Prim's Algorithm :Java Implementation
Introduction: Prim's algorithm is a greedy algorithm for finding the minimum spanning tree in a weighted undirected graph. A minimum...
330
Rohit chopra
Feb 8, 20233 min read
Kruskal's Algorithm - Java
Kruskal's Algorithm is a popular algorithm for finding the minimum spanning tree (MST) of a graph. An MST is a tree that spans all the...
850
Rohit chopra
Feb 5, 20233 min read
Java 17- Records Example
This is a follow up post from my earlier post on Java 17 Records. You can read about Java -17 Records here. Here's a basic example of a...
690
-
Feb 5, 20231 min read
Java 17: The Future of Records is Here!
Java 17 has been released and it's bringing a new feature to the table: Records. Records are a new kind of class that act as transparent...
1130
-
Feb 1, 20232 min read
Java 17 : New Features
Java, one of the most popular programming languages in the world, has been updated once again with the release of Java 17. This new...
220