The Print method of class PrintDocument sends a _____ object to the printer for printing.

a) Graphics
b) PrintDocument
c) PrintPreviewDialog
d) Brush

Answer: A

Computer Science & Information Technology

You might also like to view...

Suppose you want to use a for loop to iterate through an array named anArray. How would you indicate the number of times the loop will be performed?

A. final Integer N = anArray.length; for (Integer i = 0; i < N; i++) {... B. anArray.length = N; for (Integer i = 0; i < anArray.length; i++) {... C. for (anArray.length = 0; anArray.length < N; anArray.length++) {... D. final Integer N = anArray.length; for (Integer i = anArray.length; i < N; i++) {...

Computer Science & Information Technology

To use Java’s Vector class, you must import the ___________ package.

a. java.Math b. java.Exception c. java.util d. java.lang

Computer Science & Information Technology