M

Mr. Dubey • 52.26K Points
Coach

Q. Given the code String s = new String("abc"); Which of the following call is not valid?

  • (A) s.trim().
  • (B) s.replace('a', 'A').
  • (C) s.substring (3).
  • (D) s.setCharAt (1,'A').

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.