Computer Science, asked by sssssspriyam10, 5 months ago

What will be the output of the following: String str = “Sequence of character make string”: System.out.println(str.substring(str.indexOf(„ „),str.lastIndexOf(„ „))); System.out.println(str.startsWith(“of”)); ​

Answers

Answered by kanishkstd
1

Answer:

of character make string

(in the output first space is included but not the last)

False

Similar questions