String in Java - Quiz

  • AThe first occurrence of k is replaced by a.
  • BAll characters k are replaced by a.
  • CAll characters a are replaced by k.
  • D Displays error message
  • AS1=123456, S2=579
  • BS1=123456,S2=123456
  • CS1=579,S2=579
  • D None of This