McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
The method used to set Fonts is
Q.
The method used to set Fonts is
A.
setFontName()
B.
setFont()
C.
setFontText()
D.
none of these
Answer» B. setFont()
3.3k
0
Do you find this helpful?
23
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
The class used to encapsulate fonts is
When method defined in subclass which has same signature as a method in a super class, it is known as method
The method to set the text of Textfield.
The method in Graphics class to set the drawing color
What is the process of defining a method in terms of itself that is a method that calls itself?
To design a general-purpose search method, searchList, to search a list, which of the following must be parameters of the method searchList? (i) The array containing the list. (ii) The length of the list. (iii) The search item. (iv) A boolean variable indicating whether the search is successful.
A method without the body is called ________ method.
When method is overridden , then by subclass object which class method is called _____.
When an instance of a class, or object, is specified as a parameter to a method, ______ to the said object is passed to the method.
Which of these access specifiers must be used for main() method?