In this video we will see how to compare two strings and concatenate strings in java.
Comparing two Strings:
Strings are compared with equals method.
Str1.equals(Str2);
== is used to compare others.
For example, integer values are compared with == method.
If you use == to compare strings, it compares the reference points but not the actual values.
Concatenating two strings:
For concatenating two strings we use + operator.
En esta página del sitio puede ver el video en línea 21B. Java Basics for Selenium - Java Strings - Comparing and Concatenating two strings de Duración hora minuto segunda en buena calidad , que subió el usuario subbus tech 21 marzo 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 60 veces y le gustó 0 a los espectadores. Disfruta viendo!