First Code School Blog

reflectors in java 0

Reflection API in Java

The term reflection or reflector has a different meaning depending on the context they revolve around. Here in Java, reflection is an API that examines or modifies the behaviors of methods, classes and interfaces...

deadlock in java 0

Deadlock in Java

In this article, we will learn about the deadlock concept in Java. Let’s start!!! What is a deadlock? As mentioned earlier, deadlock comes with multi-threading. It occurs when multiple threads request for the same...

semaphore in java 0

Semaphore in Java with Example

In Java, we usually implement semaphore in thread synchronization. This article will give you a clear insight into this concept. Let’s start!!! What is semaphore in java? When there are many threads waiting to...

autoboxing and unboxing in java 0

Autoboxing and Unboxing in Java

The presence of primitive types in Java led to the rise of wrapper classes. The two components, autoboxing and unboxing, are present in this class. This article will dive deep into the autoboxing and...

wildcards in java 0

Wildcards in Java with Examples

When it comes to Java Generics, the wildcard plays a vital role. To understand the working of wildcards in java and how to implement it in real-time programs, this article will help you. .Let’s...

annotation in java 0

Annotations in Java with Example

In this article, we will learn about annotations in java with syntax and example. Annotations in Java The annotations represent the metadata i.e attached with the class, interface, function, or fields to denote a...

assertion in java 0

Assertions in Java

This article will take you deep into the concepts of assertions in java, their uses and various sample programs. Let’s start!!! Assertions in java: The presence of assertions in Java plays a vital role...

singleton class in java 0

Singleton Class in Java

In object-oriented programming, it is common to hear the term ‘class.’ The term Singleton class varies from these normal classes that we usually create. This class belongs to the five creational singleton design patterns...

java constructor chaining 0

Constructor Chaining in Java

In this article, we will learn about constructor chaining in java. But before that, let us first see what is constructor in java. Let’s start!!! What is a constructor in java? A constructor is...

copy constructor in java 0

Copy Constructor in Java

In this article, we will see java copy constructor, its uses, advantages and example. Let’s start!!! Why do we need a copy constructor in java? Knowing that Java provides a special functionality like a...