Home / MCQ Bank / Computer
Computer Strings

Which of the following methods is used to compare two strings for equality in Java?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • equals()

Related Computer Questions

What will be the output of the following C code? #include <stdio.h> int main() { char *n; scanf("%s", n); return 0; } In the context of business analytics, what is the main goal of "data preprocessing"? How many real types are there in complex numbers? What does the quanteda package in R focus on? A free open-source software version of Netscape was developed called ______