Home / Programming MCQs / JAVA MCQs / Question

Q. What code would you use to construct a 24-point bold serif font?

(A) new Font (Font. SERIF, 24,Font.BOLD);.
(B) new Font("SERIF", Font.BOLD,24);.
(C) new Font("BOLD ", 24,Font.SERIF);.
(D) new Font (Font. SERIF, "BOLD", 24);.

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution


Login to discuss.