How many parameters can a resize method take?

a) 1
b) 2
c) 1 or 2
d) 2

1 thought on “How many parameters can a resize method take?”

  1. c
    Explanation: There can be one or two parameters in resize method. They are string length and an optional new character to be inserted.

Leave a Comment