Posts related to tag: Difference


Oracle: RANK() vs. DENSE_RANK() Function

In Oracle SQL, both RANK() and DENSE_RANK() are window functions that are used to assign a ranking to each row […] Continue reading »

System.arraycopy() vs. Arrays.copyOf() in Java

In Java, both Arrays.copyOf() and System.arraycopy() are methods used to copy elements from one array to another. But, they are […] Continue reading »

Java 8 Consumer and Supplier Example

Java 8 introduced several functional interfaces in the java.util.function package to support functional programming paradigms. Among these interfaces, Consumer and […] Continue reading »

Java 8 Predicate vs Function: A Comparison with Examples

Java 8 introduced several new features to enhance the language’s functional programming capabilities. Among these features are Predicates and Functions, […] Continue reading »

Difference between ArrayList and Vector in Java

ArrayList and Vector are two commonly used classes in Java that provide dynamic arrays. They are similar in many ways […] Continue reading »

Java 8 – Difference between two LocalDate

In Java 8, we can use Period.between(startDate, endDate) method to find out the difference between two LocalDate instances. Period is […] Continue reading »

Java 8– Calculate date & time difference between two Zone

In Java 8, we can use LocalDateTime.now(ZoneId.of(String zoneId)) to get current LocalDateTime instance of the zoneId  and Duration to calculate […] Continue reading »

Java 8 – Calculate difference between two LocalDateTime

In this short article, we’ll learn how to calculate the difference between two dates in Java 8. We can use […] Continue reading »

Difference between Enumeration, Iterator, and ListIterator in Java

In the previous tutorial, we have learned about when and how to use, Enumeration, Iterator, and ListIterator cursor in Java […] Continue reading »