Computer Science, asked by ananyadhadwal6988, 4 months ago

difference between substring (int) and substring (int,int)??​

Answers

Answered by saii470
1

Explanation:

In the first case: If don't specify range(from which index to whom) compile by default select the first index to the specified argument.

In the second case: You have specified the range, so substring will happened only that part

Try it by yourself! All the best

Similar questions