What capability does the If…Then…Else statement provide that the If…Then statement does not?

a) the ability to execute different actions when the condition is True or False
b) the ability to nest structures
c) the ability to stack structures
d) None of the above.


a) the ability to execute different actions when the condition is True or False

Computer Science & Information Technology

You might also like to view...

(Inventory Application Enhancement) Enhance the Inventory application to include a JTextField in which the user can enter the number of shipments received in a week (Fig. 4.11). Assume every shipment has the same number of cartons (each of which has the same number of items), and modify the code so that the Inventory application uses the num- ber of shipments in its calculation.

a) Copying the template to your working directory. Copy the C:Examples Tutorial04ExercisesInventory2Enhancement directory to your C:Simply- Java directory.



b) Opening the Command Prompt window and changing directories. Open the Com- mand Prompt window by selecting Start > Programs > Accessories > Command Prompt. Change to your working directory by typing cd C:SimplyJava Inventory2Enhancement.

c) Compiling the template application. Compile your application by typing javac Inventory.java.

d) Running the template application. Run the enhanced Inventory template applica- tion by typing java Inventory. The GUI of the Address Book template application should appear as shown in Fig. 4.12. Note the differences from Fig. 4.11.





e) Opening the template file. Open the Inventory.java file in y

Computer Science & Information Technology

Which is the Excel operator for exponentiation?

A) ^ B) $ C) * D) &

Computer Science & Information Technology

Which of the following choices defines a selection list or a drop-down menu that displays a list of selections?

A) fieldset B) select C) option D) input

Computer Science & Information Technology

The tag marks the beginning and end of table rows.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology