MC An optional XML__________ identifies a document as an XML document.

a) identification number.
b) declaration.
c) id element.
d) None of the above.

b) declaration.

Computer Science & Information Technology

You might also like to view...

Organization charts are used to represent hierarchies

Indicate whether the statement is true or false.

Computer Science & Information Technology

(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