core java
-
Core Java
List to Long Array
Converting a list to a long[] array is a common task in Java programming. There are multiple ways to achieve…
Read More » -
Core Java
Java Sorted Lists
Sorting in Java is the process of arranging elements in a specific order, typically ascending or descending. Java provides several…
Read More » -
Core Java
Java yield switch
In Java 14, the yield keyword is introduced to enhance switch expressions. It allows a value to be returned from…
Read More » -
Core Java
Get First Set Item
A Java Set is a collection that stores unique elements, ensuring that no duplicates are allowed, and maintains (or not)…
Read More » -
Core Java
Java Holder Class
In Java, the Holder class is not part of the standard language itself. What we are referring to here is…
Read More » -
Core Java
JSON array to List
JSON, or JavaScript Object Notation, is a lightweight data-interchange format. It’s easy for humans to read and write, and simple…
Read More » -
Core Java
Java Iterator vs. ListIterator
In Java, an Iterator is an interface that is part of the Java Collections Framework, which provides a way to…
Read More » -
Core Java
Get Start And End Date Of A Year
In programming, efficiently obtaining the a year’s start and end dates is a common task, often required for various applications…
Read More » -
Core Java
Java 8 DateTime vs. Calendar and Date
Java 8, released in March 2014, introduced a significant improvement to handle date and time operations with the introduction of…
Read More » -
Core Java
ModelMapper vs. MapStruct in Java
ModelMapper vs MapStruct in Java is a common topic of discussion in the Java community when it comes to mapping…
Read More »