Write the function call for given method definition public static int compare (String S1,String S2)
Answers
Answered by
4
Explanation:
We can compare string in java on the basis of content and reference. ... By equals() method; By = = operator; By compareTo() method ... Suppose s1 and s2 are two string variables ...
Answered by
0
Answer:
I don't understand the question
Similar questions