x Java Java 8 JUnit Spring Boot Microservices Contact Us

Before Java 5, Wrapper classes like Integer, Float, Boolean, etc were ...

Uses Java 1.8

In Java if you want to check that two objects are meaningfully equal, then you need to ...

Uses Java 1.8

An immmutable class is a class whose state can not be changed once its instance ...

Uses Java 1.8

Checked Exceptions are Exceptions which must be caught in the code using catch ...

Uses Java 1.8

Sometimes we want to process various kinds of Exceptions in the same way, ...

Uses Java 1.8

Java try-with-resources was introduced with Java 7. Using try-with-resources, you can get rid ...

Uses Java 1.8

You can measure elapsed time or check time taken by method in Java by using System currentTimeMillis()...

Uses Java 1.8

Enums help in reducing defects by restricting the type of value a variable can...

Uses Java 1.8

Annotations were introduced in Java 1.5 version. They are used to provide metadata for a field ...

Uses Java 1.8

There are various ways of iterating over a Map type in Java. We will use HashMap to show ...

Uses Java 1.8

There are various ways of removing an item from a Map type in Java. We will use HashMap to show various way...

Uses Java 1.8

There are various ways of removing an item from a ArrayList type in Java as...

Uses Java 1.8

You can sort an ArrayList using Collections sort() by either implementating a Comparable...

Uses Java 1.8

There are various ways of converting Array to List such using Arrays asList()...

Uses Java 1.8

When multiple threads access an object and try to read the object or modify its state...

Uses Java 1.8

You can achieve thread synchronization in Java using synchronized keyword...

Uses Java 1.8

When you need more then one Thread to process multiple tasks in Java, you typically create...

Uses Java 1.8

ThreadLocal class contains threead-local variables that are associated with only one Thread...

Uses Java 1.8

Java Callable and FutureTask example...

Uses Java 1.8

A CountdownLatch allows one or more threads to wait for a set of events to occur...

Uses Java 1.8

A CyclicBarrier allows one or more threads to wait so that they can reach a common point...

Uses Java 1.8

Singleton Design Pattern is a software design pattern that makes ...

Uses Java 1.8

Builder Design Pattern is a creational design pattern which separates the construction...

Uses Java 1.8

Prototype Design Pattern is a creational design pattern and should be used ...

Uses Java 1.8

Factory Design Pattern is a creational pattern that uses factory methods...

Uses Java 1.8

Prototype Design Pattern is a creational design pattern and should be used ...

Uses Java 1.8