
Packages in Java
Authored by Jamunadevi T
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
SAINS KOMPUTER 1.3
Quiz
•
University
10 questions
Q2 - Python
Quiz
•
University
10 questions
Algoritma dan Pemrograman Bab 2
Quiz
•
University
11 questions
Cloud Fundamentals - Lecture3 summative
Quiz
•
University
10 questions
Diagnóstico python
Quiz
•
University
10 questions
CC 105 - Quiz 2 FINAL TERM
Quiz
•
University
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
Hyrje në SO
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade