Chapter

Comparing Strings and Characters

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. Why can’t numeric comparison operators be used to compare strings in Java?

    "Numeric comparison operators cannot be used to compare strings in Java. For example, we could not code something like (\"aardvark\" < \"zebra\"). The Java compiler would not allow you to do this beca

Comparing Strings and Characters | ComputerScienceOne | Bifalgorithm | Bifalgorithm