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);.
Answer» B. new Font("SERIF", Font.BOLD,24);.
1.8k
0
Do you find this helpful?
1

View all MCQs in

Java Programming

Discussion

No comments yet