Kotlinlearncs.online LogoJava
Return to List

Homework: Course Hash Code

Created By: Geoffrey Challen
/ Version: 2020.10.0

Create a public class named Course providing a single constructor setting three private String properties: department, number, and title, in that order. Implement hashCode using java.util.Objects by hashing the department and number, only, in that order.

Related Lessons

Stuck? You may find these lessons helpful: