Computer Science, asked by CeleinPrabakar, 4 months ago

2. Give the output of the following statements :
(i) System.out.print( "abc". indexOf('b'));
(ii) System.out.print("S".toLowerCase();
(iin System.out.print("India".compareTo("country"));​

Answers

Answered by satyajeetdas225
7

Answer ⏬

  1. 2
  2. s
  3. 26 [ c-I = 99-73]

HOPE IT HELPS

PLEASE MARK ME BRAINLIEST ☺️

Similar questions