Java

Java

University

65 Qs

quiz-placeholder

Similar activities

HTML & CSS

HTML & CSS

University

60 Qs

Internet Hardware

Internet Hardware

9th Grade - University

60 Qs

101TEN

101TEN

University

70 Qs

2023-2024 Living in IT Era Midterm Exam

2023-2024 Living in IT Era Midterm Exam

University

60 Qs

2 Facts 1 Lie

2 Facts 1 Lie

University

60 Qs

PPS - Chapter 7,8,9,10

PPS - Chapter 7,8,9,10

University

60 Qs

PYTHON PROGRAMMING FINALS

PYTHON PROGRAMMING FINALS

University

69 Qs

GUI DAN CLI

GUI DAN CLI

KG - University

70 Qs

Java

Java

Assessment

Quiz

Computers

University

Hard

Created by

Milan Jasani

Used 42+ times

FREE Resource

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?