Computer Science, asked by nnithya2006, 4 months ago

State the data type and the values of a and b after the following

program segment is executed.

String s1= “India”;

String s2= ”INDIA”;

a= s1.compareTo(s2);

b=s1.equals(s2);​

Answers

Answered by Harshitbhati4
0

Answer:

Hii

Good morning

How are you

Similar questions
Math, 2 months ago