Which of the following is the correct statement to return a string from an array a of characters?

a. toString(a)
b. new String(a)
c. convertToString(a)
d. String.toString(a)


b

Computer Science & Information Technology

You might also like to view...

How do we get the width from a Picture object?

What will be an ideal response?

Computer Science & Information Technology

When you design for connectivity to a WAN, what five factors should you consider to determine the technologies you should use?

What will be an ideal response?

Computer Science & Information Technology

Explain how effective modular design is achieved through functional independence of the individual modules?

What will be an ideal response?

Computer Science & Information Technology

To return a value, a function must use a(n) ____ statement.

A. exit B. throw C. break D. return

Computer Science & Information Technology