5 years ago in Java Classes And Methods

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 189
Correct 74
Incorrect 56
Viewed 59

Answers

Guest
Guest
Zo Go
Zo Go - 4 weeks ago

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

Assaad Amine
Assaad Amine - 4 weeks ago

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

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying equals() is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying equals() is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying equal() is correct answer

Related Questions

Which method can be defined only once in a program?

  • [A] main method
  • [B] finalize method
  • [C] static method
  • [D] private method

Which interface provides the capability to store objects using a key-value pair?

  • [A] Java.util.Map
  • [B] Java.util.Set
  • [C] Java.util.List
  • [D] Java.util.Collection

Which of these class is super class of every class in Java?

  • [A] String class
  • [B] Object class
  • [C] Abstract class
  • [D] ArrayList class

Which of these statement is incorrect?

  • [A] All object of a class are allotted memory for the all the variables defined in the class.
  • [B] If a function is defined public it can be accessed by object of other class by inheritance.
  • [C] main() method must be made public.
  • [D] All object of a class are allotted memory for the methods defined in the class.

Which of these class relies upon its subclasses for complete implementation of its methods?

  • [A] Object class
  • [B] abstract class
  • [C] ArrayList class
  • [D] None of the mentioned