Java

Java

University

65 Qs

quiz-placeholder

Similar activities

Sec-C Quiz-3

Sec-C Quiz-3

University

69 Qs

PHP Class Test

PHP Class Test

University

62 Qs

Final Exam - Embedded Systems

Final Exam - Embedded Systems

University

60 Qs

Pemrograman Web Lanjut 1 Polmain

Pemrograman Web Lanjut 1 Polmain

University

60 Qs

PreTest - JAVA

PreTest - JAVA

University

65 Qs

JavaScript -MIDTERM EXAM

JavaScript -MIDTERM EXAM

University

60 Qs

 CSC 113 - Computer Programming 2

CSC 113 - Computer Programming 2

University

60 Qs

U23CS381 - ADD QUIZ Assessment

U23CS381 - ADD QUIZ Assessment

University

60 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?