1.

Which of this method of class String is used to extract a substring from a String object?(a) substring()(b) Substring()(c) SubString()(d) None of the mentionedI have been asked this question by my college director while I was bunking the class.Question is from Searching & Modifying a String topic in section String Handling of Java

Answer»

Correct answer is (a) SUBSTRING()

The BEST I can EXPLAIN: NONE.



Discussion

No Comment Found

Related InterviewSolutions