Which of these statements check if myString has a value?
Sweet! We can check if a string has a value by checking if it's not equal to null. If the string was null, using its equals() would cause a crash.
Almost! We can check if a string has a value by checking if it's not equal to null. If the string was null, using its equals() would cause a crash.