How many parameters are passed to the constructor of the Font class in java?
C
Correct answer
Explanation
This is correct choice because the constructor of the Font class takes Three parameters:- First:- first parameter is of String type which specifies the name of the Font. Second:- second parameter is of type int which specifies the style of the font like Font.BOLD. Third:- third parameter is of type int which specifies the size of the font. ExampleFont f1 = new Font(“Serif”, Font.BOLD, 32); So, this option is true.