Question: Consider having three String variables a , b , and c . The statement c = a + b ; also can be achieved by

Consider having three String variables a,b, and c. The statement c=a+b; also can be achieved by saying
c=a.length ()+b.length ();
c=(int)a+(int)b;
c=a.concat(b);
c=b. concat (a);
c=a.plus(b);
 Consider having three String variables a,b, and c. The statement c=a+b;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!