Quiz 4:Compiling


Answer the questions below. When you are satisfied with all your answers, press the Send button below to transmit your answers. At any time before that, you can change your responses.


Type your name:

Type in your CS login account name (not sunlab login account):

Type in your preferred email address:

Question 1: When can the javac command produce more than a single output file?

Question 2: Assume that DBReader is a Java class with a static main method. How can you execute the Java program and pass it the string partsDataBase?

Question 3: If the Java compiler complains that it cannot find the archipelago package, what could you do to fix this?

Question 4: In using the javac command, do the options appear before the name of the source file or after the name?