Which of the following statements correctly creates a Font object?
a. new Font(34);
b. new Font("Times", 34);
c. Font.font("Times", 34);
d. Font.font("Times", FontWeight.NORMAL, 34);
e. Font.font("Times", FontWeight.NORMAL, FontPosture.ITALIC, 34);
a. new Font(34);
b. new Font("Times", 34);
c. Font.font("Times", 34);
d. Font.font("Times", FontWeight.NORMAL, 34);
e. Font.font("Times", FontWeight.NORMAL, FontPosture.ITALIC, 34);
You might also like to view...
A method that lets a user change the class's instance variables is called a(n) ____.
A. getter B. mutator C. accessor D. friend
Using ________ as a promotion method will bring return visitors to your site.
a. newsletters b. banner exchanges c. TV ads d. none of the above
Test your understanding of Java with the following:
a. What does turtle1.forward() do? b. What does turtle1.turn(-45) do? c. What does turtle1.turn(45) do? d. What does turtle1.penUp() do? e. What does turtle1.hide() do?
Facebook's video chat feature is powered by Google
Indicate whether the statement is true or false