Computer Science, asked by MeghaLakshmiB, 11 months ago

(a) Give the output of the following string functions :
(i) “MISSISSIPPI”.indexOf('S') + "MISSISSIPPI”.lastIndexOf(T)
(ii) "CABLE”.compareTo(“CADET")​

Answers

Answered by Anonymous
3

1) MISS +MISSISSIPPI= 2+10= 12

2) B=66

   D=68

VALUE= -2

Similar questions