5 years ago in Java Strings

Which of these method of String class can be used to test to strings for equality?

[A] isequal()
[B] isequals()
[C] equal()
[D] equals()
Loading...
Next Question

Overall Stats

Attempted 437
Correct 178
Incorrect 100
Viewed 159

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 6 days ago

Shamsa hafeez from Lahore, Pakistan is saying equals() is correct answer

bruh
bruh - 1 month ago

bruh from Guwahati, India is saying equals() is correct answer

Assaad Amine
Assaad Amine - 1 month ago

Assaad Amine from Casablanca, Morocco is saying isequals() is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying equals() is correct answer

Zo Go
Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying isequals() is correct answer

Related Questions

Which is a valid declarations of a String?

  • [A] String s1 = null;
  • [B] String s2 = 'null';
  • [C] String s3 = (String) 'abc';
  • [D] String s4 = (String) '\ufeed';