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

Computer Science & Information Technology

You might also like to view...

When a user types something into a Text Box control, the input is stored in the control’s ____________ property.

a. Text b. Input c. String d. Value

Computer Science & Information Technology

When declaring class data members it is best to declare them as __________.

a. private members b. public members c. protected members d. restricted members

Computer Science & Information Technology

Match each of the following terms to its example:

I. database management II. media management III. photo editing software IV. cloud service provider V. presentation software A. Keynote B. Access C. iTunes D. Picasa E. Google

Computer Science & Information Technology

Any form element into which a user can enter data, such as a text box, or that a user can select or change, such as a radio button, is called a(n) ____.

A. input B. label C. widget D. field

Computer Science & Information Technology