Consider the following code snippet. Which statement should be used to fill in the empty line so that the output will be [32, 54, 67.5, 29, 35]?

public static void main(String[] args) {

double data[] = {32, 54, 67.5, 29, 35};

______________

System.out.println(str);

}

Select one:

a. String str = str + ", " + data[i];

b. String str = Arrays.toString(data);

c. String str = Arrays.format(data);

d. String str = data.toString();