Learn Java - Exercise 11x - Compare Strings in Java

preview_player
Показать описание

Learn how to program in java with our online tutorial. We will cover variables, loops, if else branching, arrays, strings, objects, classes, object oriented programming, conditional statements, and more.

Here we learn how to compare two strings in java.
Рекомендации по теме
Комментарии
Автор

Is it correct, that while comparing strings the ASCII table is considered by java? Example: F (070) - a (097) = -27 --> that means -027 is less than 0!
Can you confirm that?


Cheers

nicolasjoye