Browsing Tag

java

Understanding BlockingQueue in Java

BlockingQueue interface in Java was first introduced in Java 1.5. BlockingQueue interface supports flow control by introducing blocking if either BlockingQueue is full or empty. All methods of BlockingQueue are atomic in nature and

How to Create Annotations in Java?

Annotations have been a powerful part of Java, but most times we tend to use them rather than create them. In this journal entry, we will be having a look at the creation process of Annotations in Java.