Science, asked by justtrytoaimonlifema, 3 days ago

4. Why can strings be compared?​

Answers

Answered by XxBlushKingxX
1

 \underline \mathbb \red{♥Ans:-}</p><p></p><p>

The String class equals() method compares the original content of the string. It compares values of string for equality. String class provides the following two methods: public boolean equals(Object another) compares this string to the specified object.

Answered by Anonymous
0

Answer:

pls mel me as brainlist.

Explanation:

The String class equals() method compares the original content of the string. It compares values of string for equality. String class provides the following two methods: public boolean equals(Object another) compares this string to the specified object.

Similar questions