FoxDeluxe
FoxDeluxe FoxDeluxe
  • 10-04-2020
  • Computers and Technology
contestada

If str 1 and str2 are both Strings, which of the following expressions will correctly
determine whether they are equal?
(1) (str1 == str2)
(2) str1.equals(str2)
(3) (str1.compareTo(str2) == 0)

Respuesta :

Zaz33
Zaz33 Zaz33
  • 11-04-2020
Str1==str2 is the answer
Answer Link

Otras preguntas

breaks down complex molecules into simpler parts and allows them to be carried out of the body as waste
What percentage of the japan population is employed in hospitality and tourism?
How did the sons of liberty work to successfully repeal the stamp act during the 1760s?
eleven less than three times a number
If blood pressure is too high what should homeostatic regulation do
3 objects that have gravitational potential energy?
Help with number 9 plz
The mass of a single gold atom is 3.27×10-22 grams. how many gold atoms would there be in 236 milligrams of gold?
What does a scientist do if his experiment disproves his hypothesis
What does it mean to talk about the 'volume' of the rectangul ar box or cylindrical container