Computer Science, asked by nallarithvika, 1 month ago

String s1 = "Computer";
String s2 = "Application";
A= s1.compareTo(s2);
B=s1.equals(s2);
State the values of A & B. ​

Answers

Answered by Anonymous
1

Answer:

In A we are comparing means letters we are counting

computer has 8 letters

application has 11 letters

and both unequal

so A= 0

B=0

Similar questions