| Menu × × Correct! Exercise:Use the correct function to compare the two strings: 
var txt1 = "Hello World"
var txt2 = "Hello World"
println(@(4).@(9)(txt2))
 
var txt1 = "Hello World"
var txt2 = "Hello World"
println(txt1.compareTo(txt2))
 Not CorrectClick here to try again. Correct!Next ❯ | 
This will reset the score of ALL 39 exercises.
Are you sure you want to continue?