Computer Science, asked by mansuraahmed01, 16 days ago

String s = “Today is test”;

Pln(s.indexOf(‘T’));

Pln(s.subString(0,7) + “ “ + “Holiday”);​

Answers

Answered by BrainlyProgrammer
3

Check the above attachment

Output:-

0

Today i Holiday

  • Refer to attachment for explaination (Brainly problem: couldn't post answer)
Attachments:
Similar questions