Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 1 (Answer all questions in this section) 1. Which of the two diagrams below illustrate the general form of a Java program? Mark for Review (1) Points Example A Example B (*) Correct 2. When importing another package into a class you must import the entire package as well as the package classes that will be called. True or False? Mark for Review (1) Points True False (*) Correct 3. Which of the following defines a driver class? Mark for Review (1) Points Contains a main method and other static methods. (*) Contains classes that define objects. Contains a main method, a package, static methods, and classes that define objects. None o

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Review your answers, feedback, and question scores below.

An asterisk (*) indicates a correct


answer.
Section 1
(Answer all questions in this section)
1Which of the two diagrams below illustrate the general form of a Java
. program?

Mark for
Review
(1) Points

Example A
Example B (*)
Correct
2When importing another package into a class you must import the entire
. package as well as the package classes that will be called. True or False?

Mark for

Review
(1) Points
True
False (*)
Correct
3Which of the following defines a driver class?
.

Mark for
Review
(1) Points

Contains a main method and other static methods. (*)


Contains classes that define objects.
Contains a main method, a package, static methods, and classes that
define objects.
None of the above.
Correct
4Which of the following defines an object class?
.

Mark for
Review
(1) Points

Contains a main method and other static methods.


Contains classes that define objects. (*)
Contains a main method, a package, static methods, and classes that
define objects.
None of the above.
Correct
5The following defines a package keyword:
.

Mark for
Review
(1) Points

Defines where this class lives relative to other classes, and provides a
level of access control. (*)
Provides the compiler information that identifies outside classes used
within the current class.
Precedes the name of the class.
Correct
6The following defines an import keyword:
.

Mark for
Review
(1) Points

Defines where this class lives relative to other classes, and provides a
level of access control.
Provides the compiler information that identifies outside classes used
within the current class. (*)
Precedes the name of the class.
Correct
7The following defines a class keyword:
.

Mark for
Review
(1) Points

Defines where this class lives relative to other classes, and provides a
level of access control.
Provides the compiler information that identifies outside classes used
within the current class.
Precedes the name of the class. (*)
Correct

You might also like