1.

Which of these method of class String is used to extract a single character from a String object?(a) CHARAT()(b) chatat()(c) charAt()(d) ChatAt()I have been asked this question during an internship interview.Origin of the question is String Handling Basics topic in section String Handling of Java

Answer»

Correct choice is (C) charAt()

EASY EXPLANATION: None.



Discussion

No Comment Found

Related InterviewSolutions