previous | start | next

## Consistency

- Bad example: `String` class

      s.equals(t) / s.equalsIgnoreCase(t)

- But

      boolean regionMatches(int toffset,

         String other, int ooffset, int len)

      boolean regionMatches(boolean ignoreCase, int toffset,

         String other, int ooffset, int len)

- Why not `regionMatchesIgnoreCase`?
- Very common problem in student code

previous | start | next