How to use Dates and Times in Java 8

The old version of date time have many drawbacks, Java 8 provides java.time package to solve them clearly. So, in this article, we will learn how to use Dates and Times in Java 8, especially the way to communication between database and application. [Read More]
Tags: Java

Reentrant lock in Java

In this article, we will understand how to use reentrant lock in Java. Let’s get started. [comment]: <> ( synchronized keyword ReentrantLock ) [comment]: <> ( ——————————————————— ———————————————————————– ) [comment]: <> ( Internally it’s implemented by using two-byte code instructions MonitorEnter and MonitorExit, this is generated by the compiler. The... [Read More]