Which of the following properly create and initialize a Font object?

A. Font f = new Font();
B. Font f = new Font("Serif", Font.Bold + Font.Italic, 19);
C. Font f = new Font(Font.Bold, 20, "SansSerif");
D. Font f = new Font(20, Font.Bold, "Monospaced");

a. A and B.
b. B and C.
c. B.
d. D.


c. B.

Computer Science & Information Technology

You might also like to view...

Sorting a preexisting sequence of n elements can be accomplished with the heapsort algorithm by:

a. Calling make_heap on the entire sequence and then calling pop_heap on the entire sequence n times. b. Calling push_heap on the entire sequence n times and then calling pop_heap on the entire sequence n times. c. Calling make_heap on the entire sequence and then calling sort_heap on the entire sequence. d. Calling push_heap on the entire sequence n times and then calling sort_heap on the entire sequence.

Computer Science & Information Technology

How does a hardware keylogger work?

What will be an ideal response?

Computer Science & Information Technology

A _________ is a region of a slide reserved for inserting text or graphics.? ?A. placeholder B. record C. header D. footnote

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A smaller more manageable portion of the population is called a ________

Fill in the blank(s) with correct word

Computer Science & Information Technology