Home / MCQ Bank / Computer
Computer Strings

What is the purpose of the substring() method of a String object in Java?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • To extract a substring from the string

Related Computer Questions

Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data? What is the use of tuple_cat() function? Which of the following conditions is used to transmit two packets over a medium at the same time? What is the output of the following R code: for (i in 1:5) { if (i == 3) next; print(i) } How many parameters are required for next_permutation?