Java Quiz 2
Quiz
•
Computers
•
University
•
Hard
Imran Khan
Used 3+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of these packages contains all the classes and methods required for event handling in Java?
java.awt
java.event
java.applet
java.awt.event
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is an event in delegation event model used by Java programming language?
An event is a class used for defining object, to create events
An event is an object that describes a state change in a source
An event is an object that describes a state change in processing
An event is an object that describes any change by the user and system
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Method are used to register a keyboard event listener.
KeyListener()
addKistener()
addKeyListener()
eventKeyboardListener()
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is a listener in context to event handling?
A listener is a object that is notified when an event occurs
A listener is a variable that is notified when an event occurs
A listener is a method that is notified when an event occurs
None of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
class Main {
public static void main(String args[]){
final int i;
i = 20;
System.out.println(i);
}
}
20
0
Compiler Error
Garbage value
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Derived::show() called
Base::show() called
Compiler Error
Exception
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of these are types of multitasking?
Process based
Thread based
Process and Thread based
None of the mentioned
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Website Usability and UX
Quiz
•
University
10 questions
Quiz - CSE
Quiz
•
University
10 questions
Files and Directories
Quiz
•
University
10 questions
Hands-on Modul 3
Quiz
•
University
10 questions
PYTHON BASICS PART 1
Quiz
•
University
10 questions
System Analysis & Design
Quiz
•
University
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
