48.6k views
15 votes
You are writing a Java program that deals with doing operations combining characters. Why must you use the string data type and not the char data type to achieve this operation?

A. Combining character data uses less overall memory.

B. Combining character data limits the use of strings.

C. Combining character data produces string data.

D. Combining character data creates more characters.

1 Answer

10 votes

Answer:

C

Step-by-step explanation:

Anything over one char is no longer a char, but a String object.

User Nikolay Kovalenko
by
7.2k points