Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of these methods of class String is used to extract all the characters from a String object?

a) CHARAT()
b) Remove()
c) charAt()
d) Replace()

Answer: b
Explanation: Replace() replaces all instances of a character with a new character while Remove extracts characters from the string.

Join The Discussion