Science, asked by jbvbjkhhh4541, 1 year ago

What is String subSequence method in java?

Answers

Answered by cutieeee10101
3
HEY MATE.......

HERE IS UR ANSWER.......❤❤

Java String subSequence() method with Examples. The Java.lang.String.subSequence() is a built-in function in Java that returns a CharSequence. CharSequence that is a subsequence of this sequence. The subsequence starts with the char value at the specified index and ends with the char value at (end-1).

HOPE IT HELPS YOU AND MARK AS BRAINLIEST........
Answered by animesharyan0011
0

Answer:

subSequence() is a built-in function in Java that returns a CharSequence. The subsequence starts with the char value at the specified index and ends with the char value at (end-1). ... The length (in chars) of the returned sequence is (end-start, so if start == end then an empty sequence is returned.

Similar questions