4. Why can strings be compared?
Answers
Answered by
1
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
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
English,
1 day ago
Social Sciences,
1 day ago
Math,
1 day ago
Hindi,
3 days ago
English,
3 days ago
Computer Science,
8 months ago
English,
8 months ago