Computer Science, asked by kalhansshreya, 3 months ago

Give the output of the following:

(a) String n="Computer Knowledge":
String m= "Computer Applications'';
System.out.println(n. substring (0.8). concat (m. substring (9));
System.out.println(n. endsWith(“s”'));
(b) String s= "'Today is Test":
System.out.println(s. indexOf("T"));
System.out.println(s. substring (0.7) + " " + "Holiday”);​

Answers

Answered by DogLover18
0

Answer:

(a) String n=" Computer Knowledge":

Similar questions