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

1 Expert Approved Answer
Step: 1 Unlock

a c d f and j The S... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming 8th Questions!