PdfPrep.com

You need to determine the values of the data1, data2, data3, and data4 variables

HOTSPOT

You write the following code:

You need to determine the values of the data1, data2, data3, and data4 variables.

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

References:

https://docs.oracle.com/javase/7/docs/api/java/util/Scanner.html

Exit mobile version