```
scala> "abcd".last == "d"
<console>:8: warning: comparing values of types Char and String using `==' will always yield false
              "abcd".last == "d"
                          ^
res0: Boolean = false
```