Java is officially announced the release date of version 14 on March 17, 2020. We’re gonna look at Java 14 major features with examples.
Java – Sort ArrayList of Objects
In this tutorial, we’re gonna look at some useful ways to sort Java ArrayList of Objects for Ascending and Descending order. You will know how to:
- sort ArrayList of Objects by one field or multiple fields
- use custom
Comparatorto sort ArrayList of Objects
Comparableinterface to sort ArrayList of Objects conveniently
Java Android – Read JSON file from assets using Gson
In this Java-Android tutorial, I will show you how to read and parse JSON file from assets using Gson.