Java Quiz 2

Java Quiz 2

University

8 Qs

quiz-placeholder

Similar activities

computer Networks

computer Networks

University

10 Qs

Process modeling

Process modeling

University

10 Qs

 QUIZ  MS Core Java Quiz-3 2023

QUIZ MS Core Java Quiz-3 2023

University

11 Qs

Tutorium 1 - Prog2

Tutorium 1 - Prog2

University

11 Qs

G7 - Ôn tập C1,2

G7 - Ôn tập C1,2

KG - University

10 Qs

Django - WEB50

Django - WEB50

University

12 Qs

FIVIZZ: WEEK 11 - PROGRAMMING 2

FIVIZZ: WEEK 11 - PROGRAMMING 2

University

10 Qs

HTML14-02-23

HTML14-02-23

University

10 Qs

Java Quiz 2

Java Quiz 2

Assessment

Quiz

Computers

University

Hard

Created by

Imran Khan

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers