Use of Strings in Selenium WebDriver ExamplesSubmitted by harrydev on Sat, 10/13/2018 - 04:18
In java Strings are special and very interesting topic and are most commonly used. String is nothing but sequence of characters such as "hello", Strings should be enclosed with double quotes(" ").
String is not a primitive type like int or float. Instead string is a class which is present in java.lang package which creates string objects.
Declaration and initialization of String is same as primitive types such as int or double but String first letter is always capital as it is a class but not keyword like int and 's' is not primitive type, rather it is reference type