Java

Java

University

65 Qs

quiz-placeholder

Similar activities

Cyber security class test 3

Cyber security class test 3

University

70 Qs

Introduction to Spreadsheets

Introduction to Spreadsheets

7th Grade - Professional Development

60 Qs

Unit 2: Cryptography

Unit 2: Cryptography

8th Grade - University

64 Qs

FDS_MIDTERM

FDS_MIDTERM

University

60 Qs

CSC134 TEST1 DEC22

CSC134 TEST1 DEC22

University

60 Qs

IC3_GS6_LV2

IC3_GS6_LV2

7th Grade - University

60 Qs

Java

Java

University

61 Qs

Desktop Publishing  Midterm  Exam

Desktop Publishing Midterm Exam

University

60 Qs

Java

Java

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Milan Jasani

Used 42+ times

FREE Resource

AI

Enhance your content in a minute

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

65 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these keywords is used to define packages in Java?

pkg
Pkg
package
Package

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A Package is a collection of

classes
interfaces
editing tools
classes and interfaces

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

in java multi-threading, a thread can be created by

Extending thread Class
Implementing Runnable interface
Using Both
None

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these keywords is not a part of exception handling?

try
finally
thrown
catch

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method is called internally by Thread start() method?

execute()
run()
launch()
main()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these keywords must be used to handle the exception thrown by try block in some rational manner?

try
finally
thrown
catch

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of this access specifies can be used for a class so that its members can be accessed by a different class in the same package?

Public
Protected
No Modifier
All of the mentioned

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?