Computer Science, asked by buffalog421, 8 months ago

Write the function call for given method definition public static int compare (String S1,String S2)

Answers

Answered by Anonymous
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 Durgadinesh
0

Answer:

I don't understand the question

Similar questions