Multiple Choice
Given String name = "Arleen Crabtree". What will the following instruction return? name.toUpperCase() .replace('R', 'Z') ;
A) "ARLEEN CRABTREE"
B) "AZLEEN CZABTREE"
C) "Azleen Czabtree"
D) "Arleen Crabtree"
E) "ArZleen CrZabtree"
Correct Answer:

Verified
Correct Answer:
Verified
Q12: Write an assignment statement to compute the
Q13: Given four int values, x1, x2, y1,
Q14: The following statement will output _ lines
Q15: The Random class has a method, nextFloat()
Q16: Example Code Ch 02-2<br>import java.util.Scanner;<br>public class Questions33_34<br>{<br>public
Q18: If x is a String, then x
Q19: Example Code Ch 02-1<br>public class Questions1_4<br>{<br>public static
Q20: Given x is a double and has
Q21: What is the value of z after
Q22: How do the statements "import java.util.*;" and