Examlex

Solved

Which of the Following Properly Create and Initialize a Font

question 18

Multiple Choice

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") ;


Definitions:

Related Questions