Packages in Java

Quiz
•
Computers
•
University
•
Hard
Jamunadevi T
Used 6+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is the object created with new keyword?
At run time
At compile time
Depends on the code
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the corrected definition of a package.
A package is a collection of tools.
A package is a collection of classes.
A package is a collection of classes and interfaces.
A package is a collection of interfaces.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following is toString() method defined?
java.lang.Object
java.lang.String
java.lang.util
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To which of the following does the class string belong to.
java.lang
java.awt
java.string
java.object
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the modifier which cannot be used for constructor.
Public
Protected
Private
Static
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will “Interviewbit” be printed.
Int count = 0;
do{ System.out.println(“Interviewbit”);
count++; }
while(count < 10);
8
9
10
11
Similar Resources on Wayground
10 questions
Unit 1 - Classes and Objects

Quiz
•
University
10 questions
Unit 24 - Java Basics

Quiz
•
University
10 questions
Julia

Quiz
•
University
9 questions
Inheritance + java

Quiz
•
University
10 questions
Questionário sobre Javascript

Quiz
•
University
10 questions
Herencia y Paquetes

Quiz
•
University
9 questions
Trắc nghiệm kiến thức Java Core - Phần II

Quiz
•
University
10 questions
ข้อสอบย่อยวิชา จาวาเว็บ ครั้งที่ 6

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University