How do you correctly compare two strings str1 and str2 for content equality in Java?
C) str1.compareTo(str2) == 0
B) str1.equals(str2)
A) str1 == str2
Both b and c
Both a and b