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...

Answer the following statements true (T) or false (F)

1. A menu interface presents the user with a list of available options. 2. The Apple Macintosh and Microsoft Windows both feature a graphical user interface (GUI) that presents the user with a selection of windows, icons, and menus. 3. A given computer can have only one user interface. 4. The set of available user interface commands and their syntax rules forms a command language. 5. To run an application, you must type a set of commands that includes the application’s file name.

Computer Science & Information Technology

________ contains the tasks and dates for a project and shows the schedule and progress of the project in a graphic

A) WordArt B) A Gantt chart C) SmartArt D) A flowchart

Computer Science & Information Technology

A presentation that contains ActiveX controls must be saved with a .pptm file extension

Indicate whether the statement is true or false

Computer Science & Information Technology

A custom filter can only be written for text, numbers, or dates

Indicate whether the statement is true or false.

Computer Science & Information Technology