Multiple Choice
Two ways of concatenating two Strings are:
A) Use the concat() method or use the + between the two Strings
B) Use the concatenate() method or use the + between the two Strings
C) Use the contenate() method or the concat() method
D) Use the concat() method or the trim() method
Correct Answer:

Verified
Correct Answer:
Verified
Q33: What will be the value of loc
Q34: When using the String class's trim method,
Q36: Use the following import statement when using
Q37: The String class's valueOf() method accepts a
Q37: The String class's valueOf method accepts a
Q39: Autoboxing is:<br>A) Java's process of automatically "boxing
Q40: For the following code, how many times
Q42: If your program needs to make a
Q43: Assuming that str is declared as follows:
Q47: You cannot assign a value to a