two operator used in strings
Answers
Answered by
5
Answer:
The string relational operators are used to test the relationship between two operands. You can see if one operand is equal to another, if one operand is greater than another, or if one operator is less than another. String values are compared using the ASCII values of each character in the strings.The product uses the wrong operator when comparing a string, such as using "==" when the equals() method should be used instead. In Java, using == or != to compare two strings for equality actually compares two objects for equality, not their values. Chances are good that the two references will never be equal.
Answered by
3
Answer:
your answer is "+" "/"
Explanation:
hope it helps
Similar questions