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 setFont() is defined in------...
Q.
The method setFont() is defined in---------- class
A.
Applet
B.
Font
C.
Container
D.
Component
Answer» D. Component
2.8k
0
Do you find this helpful?
31
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
When method defined in subclass which has same signature as a method in a super class, it is known as method
Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class.
State true or false (i) public can only be assigned to class (ii) protected protects a statement (iii) protected method is never accessible outside the package (iv) friendly variable may be accessible outside class
In RMI program the following two steps are used to, Either extend the UnicastRemoteObject class, the exportObject() method of the UnicastRemoteObject class,
Which method defined in Integer class can be used to convert a whole number in string type to primitive int type.
The method sqrt() is defined in the class
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 is used to access member of class before object of that class is created?
The keyword used inside a class to refer to its immediate super class is