Skip to lesson

Student Gradebook

A class teacher's marks register is a list: students kept in the order they were added, ready to be sorted, searched and changed. Here that list is an ArrayList<Student>, and every report is a few lines of collections code.

What you will learn

What you will learn

  • Store and manage objects in a Java List
  • Sort a list of records by several keys with Comparator
  • Search and remove list elements safely
  • Compute class statistics with Collections.max, Collections.min and a TreeMap
  • Push a Java collections project to GitHub

Sign in to continue this lesson

Create an account to read every lesson, practise with the exercises and keep track of your progress.