Interfaces and Types in Java

In Java, you must declare a type for every variable, so we add a fourth principle:

Java compilers do not enforce the last two of those principles, but they are regarded as good OOP, and we require you to follow those principles as part of the coding standards in this course.