Question: Which of these parameter lists can be found in a constructor of the String class? Select the five correct answers. (a) () (b) (int capacity)
Which of these parameter lists can be found in a constructor of the String class?
Select the five correct answers.
(a) ()
(b) (int capacity)
(c) (char[] data)
(d) (String str)
(e) (CharSequence cs)
(f) (StringBuilder sb)
(g) (char c)
(h) (Object o)
(i) (String str, int beginIndex, int endIndex)
(j) (char[] data, int offset, int count)
Step by Step Solution
3.53 Rating (156 Votes )
There are 3 Steps involved in it
a c d f and j The S... View full answer
Get step-by-step solutions from verified subject matter experts
