McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
The class used for drawing graphics in a...
Q.
The class used for drawing graphics in an application is
A.
Canvas
B.
Graphics
C.
Layer
D.
Container
Answer» B. Graphics
1.7k
0
Do you find this helpful?
12
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
The method in Graphics class to set the drawing color
The method in Graphics class to draw a circle/oval with specified width and height.
The class used to make a standalone application in java.
Can you write a Java class that could be used both as an applet as well as an application?
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
Which of these keywords is used to refer to member of base class from a sub class?
Which of this access specifies can be used for a class so that its objects can be created by a different class in another package?
State true or false (i) JPanel is a class included in awt package (ii) Anonymous classes are mostly used for event handling (iii) Names of anonymous classes must be unique (iv) JOptionPane is an inner class
These two ways are used to create a Frame By creating the object of Frame class (association) By extending Frame class (inheritance)