Course Solutions Uncategorized (Solved) : Given Three String Variables B C Following Statements Could Use Achieve Thing C B C Length Q30914868 . . . .

(Solved) : Given Three String Variables B C Following Statements Could Use Achieve Thing C B C Length Q30914868 . . . .

 

Given three String variables, a, b, and c, which of thefollowing statements could you use to achieve the same thingas:

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);

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post