
6CSN-Q3

Quiz
•
Computers
•
Professional Development
•
Hard
RAVIKANTH K
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where are the following four methods commonly used?
1) public void add(Component c)
2) public void setSize(int width,int height)
3) public void setLayout(LayoutManager m)
4) public void setVisible(boolean)
Graphics class
Component class
Both A & B
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many types of events are there?
2
3
4
11
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Implement the Listener interface and overrides its methods is required to perform in event handling.
Yes
No
Sir din't teach
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the container that doesn't contain title bar and MenuBars but it can have other components like button, textfield etc?
Window
Frame
Panel
Container
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the paint method in a component?
To handle mouse clicks on the component
To render graphics on the component using the Graphics object
To add components to the container
To update the layout of the container
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to draw a string in the Graphics class?
drawString(String str, int x, int y)
paintString(String str, int x, int y)
writeString(String str, int x, int y)
text(String str, int x, int y)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which object is sent as parameter to setColor(_______)
Graphics a
Color c
Frame f
None
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
BrightChamps Technical Round - C language

Quiz
•
Professional Development
10 questions
3. Data conversion, Array

Quiz
•
Professional Development
8 questions
Lenguaje Java: Programación Modular

Quiz
•
Professional Development
9 questions
C# Programming Functions and Procedures

Quiz
•
Professional Development
14 questions
Presentation Software

Quiz
•
10th Grade - Professi...
10 questions
6. Method

Quiz
•
Professional Development
11 questions
Java Fundamentals

Quiz
•
Professional Development
10 questions
MATERIAL DIDACTICO - TEST JAVA- KHIPU

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade