When in break mode, you can use ____ to examine the value of variables.
A. DataTags
B. DataTips
C. DebugTags
D. DebugTips
Answer: B
You might also like to view...
State the order of evaluation of the operators in each of the following Java statements, and show the value of x after each statement is performed:
``` a) int x = 7 + 3 * 6 / 2 - 1; b) int x = 2 % 2 + 2 * 2 - 2 / 2; c) int x = (3 * 9 * (3 + (9 * 3 / (3)))); ```
Write a function that reads delimited strings from a file with names and phone numbers and uses a database to store the names as the keys and the phone numbers as the values. Take as input the filename and the name of the person who’s phone number you are looking for. How would you look up the phone number to find the name it belongs to?
Note: This question does not specify the type of delimited strings to use, but the most common assumption would be a comma-delimited string. By relational database it could mean a relational database with hash tables, like in Program 165, or a MySQL database. The former would lead to an answer like findPhoneNumber, and the latter would lead to an answer like findPhoneNumber2. To answer the question, you would look up the phone number to find the name it belongs to by checking each of the keys to see if its value matches the phone number, then returning that name.
Which of the following statements about running a macro is TRUE?
A) A macro can be run from the NewMacros dialog box. B) Running a macro is faster than manually choosing each command. C) A macro can be run from the Review tab. D) Running a macro is the same as recording a macro.
A Fragment can place items in the app’s app bar and options menu. To do so, the Fragment must call its ________ method with the argument true.
a. setHasOptionsMenu b. setOptionsMenu c. setMenu d. setHasMenu