Using volatile is yet another way (like synchronized, atomic wrapper) of making class thread safe. Thread safe means that... 17 May volatile keyword in Java | java | 0 Using volatile is yet another way (like synchronized, atomic wrapper) of making class thread safe. Thread safe means that...
transient is a variables modifier used in serialization. At the time of serialization, if we don’t want to save... 17 May transient keyword in Java | java | 0 transient is a variables modifier used in serialization. At the time of serialization, if we don’t want to save...
abstract is a non-access modifier in java applicable for classes, methods but not variables. It is used to achieve... 17 May abstract keyword in java | java | 0 abstract is a non-access modifier in java applicable for classes, methods but not variables. It is used to achieve...
This is an important question concerning the interview point of view. final keyword final(lowercase) is a reserved keyword in... 17 May final, finally and finalize in Java | java | 0 This is an important question concerning the interview point of view. final keyword final(lowercase) is a reserved keyword in...
final keyword is used in different contexts. First of all, final is a non-access modifier applicable only to a... 16 May final keyword in java | java | 0 final keyword is used in different contexts. First of all, final is a non-access modifier applicable only to a...
The super keyword in java is a reference variable that is used to refer parent class objects. The keyword... 16 May Super Keyword in Java | java | 0 The super keyword in java is a reference variable that is used to refer parent class objects. The keyword...
Keywords or Reserved words are the words in a language that are used for some internal process or represent... 16 May List of all Java Keywords | java | 0 Keywords or Reserved words are the words in a language that are used for some internal process or represent...
The Stream API, introduced in Java 8, it is used to process collections of objects. Stream is a sequence... 16 May 10 Ways to Create a Stream in Java | java | 0 The Stream API, introduced in Java 8, it is used to process collections of objects. Stream is a sequence...
Collectors is one of the utility class in JDK which contains a lot of utility functions. It is mostly... 16 May Java Collectors | java | 0 Collectors is one of the utility class in JDK which contains a lot of utility functions. It is mostly...
Given the task is to generate an infinite sequential unordered stream of integers in Java. Using IntStream.iterate(): Using the... 16 May Generate Infinite Stream of Integers in Java | java | 0 Given the task is to generate an infinite sequential unordered stream of integers in Java. Using IntStream.iterate(): Using the...