Question: Given three String variables, a, b, and c, which of the following statements could you use to achieve the same thing as: c = a
Given three String variables, a, b, and c, which of the following statements could you use to achieve the same thing as:
c = a + b;
| c = a.length() + b.length(); | ||
| c = (int)a + (int)b; | ||
| c = a.concat(b); | ||
| c = b.concat(a); | ||
| c = a.plus(b); |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
