Yearly Archives

volatile keyword in Java

Using volatile is yet another way (like synchronized, atomic wrapper) of making class thread safe. Thread safe means that...

volatile keyword in Java

Using volatile is yet another way (like synchronized, atomic wrapper) of making class thread safe. Thread safe means that...

transient keyword in Java

transient is a variables modifier used in serialization. At the time of serialization, if we don’t want to save...

transient keyword in Java

transient is a variables modifier used in serialization. At the time of serialization, if we don’t want to save...

abstract keyword in java

abstract is a non-access modifier in java applicable for classes, methods but not variables. It is used to achieve...

abstract keyword in java

abstract is a non-access modifier in java applicable for classes, methods but not variables. It is used to achieve...

final, finally and finalize in Java

This is an important question concerning the interview point of view. final keyword final(lowercase) is a reserved keyword in...

final, finally and finalize in Java

This is an important question concerning the interview point of view. final keyword final(lowercase) is a reserved keyword in...

final keyword in java

final keyword is used in different contexts. First of all, final is a non-access modifier applicable only to a...

final keyword in java

final keyword is used in different contexts. First of all, final is a non-access modifier applicable only to a...

Super Keyword in Java

The super keyword in java is a reference variable that is used to refer parent class objects. The keyword...

Super Keyword in Java

The super keyword in java is a reference variable that is used to refer parent class objects. The keyword...

List of all Java Keywords

Keywords or Reserved words are the words in a language that are used for some internal process or represent...

List of all Java Keywords

Keywords or Reserved words are the words in a language that are used for some internal process or represent...

10 Ways to Create a Stream in Java

The Stream API, introduced in Java 8, it is used to process collections of objects. Stream is a sequence...

10 Ways to Create a Stream in Java

The Stream API, introduced in Java 8, it is used to process collections of objects. Stream is a sequence...

Java Collectors

Collectors is one of the utility class in JDK which contains a lot of utility functions. It is mostly...

Java Collectors

Collectors is one of the utility class in JDK which contains a lot of utility functions. It is mostly...

Generate Infinite Stream of Integers in Java

Given the task is to generate an infinite sequential unordered stream of integers in Java. Using IntStream.iterate(): Using the...

Generate Infinite Stream of Integers in Java

Given the task is to generate an infinite sequential unordered stream of integers in Java. Using IntStream.iterate(): Using the...