Hello guys, in this blog we are going to talk about the different areas of memory that JVM creates and handles throughout the lifecycle of a program. In this blog, I have tried my best to explain in detail with examples and diagrams.

Before diving deep, let us see how…

Hello guys, in this blog we are going to talk about the CompletableFuture which was introduced in Java 8. But before looking into it, let me give you some background of the Future.

Futures were introduced in Java 5. They are basically placeholders for a result of an operation that…

Welcome back guys, this blog is a continuation of the previous blog where we talked about Threads and Executor Framework. If you haven’t visited, here is the link.

Hi In the previous blog, I mentioned about a new thread pool in the Executor Framework named newWorkStealingPool, which was introduced in…

Hello guys, I am back with the new blog and in this blog, we will discuss best practices to handle exceptions. Let us get started…

  1. Cleaning Up Resources in the Finally Block

If you use any resource for example InputStream, it is very important to release the resource or close…

Hello guys, I am back with a new blog. This blog is an extension of two previous blogs listed below. I would recommend you to go through these blogs before starting with this one.

In this blog, we will look into some simple but important points with respect to Type…

Aman Agrawal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store