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