
Java Quiz
Authored by Richard McLean
Computers
11th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a method, the return type should be __________ when the method returns no value.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A
B
C
D
E
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which one this keywords are used to create a class in java
class
struct
int
none of the avove
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of data is used to enter the value ("Welcome")?
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
int len = "jump it!".length();
What is the value of len?
8
7
9
6
This code does not compile.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which statement below is the correct way to retrieve the first element in the nums ArrayList?
nums.get(0)
nums[0]
nums(0)
nums[1]
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the ArrayList nums with the values [3, 7, 6, 0], what code below is the proper way to change the 7 to be a 5?
nums.set(1, 5)
nums.set(7, 5)
nums.set(5, 2)
nums[2] = 5
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
29 questions
NETWORK1 M2 Quiz
Quiz
•
University
31 questions
Adobe Premiere Pre-Test
Quiz
•
9th - 12th Grade
30 questions
AD S2 G360's Week10 -2021
Quiz
•
12th Grade
30 questions
GEC-Elective 11 - Assessment 1
Quiz
•
University
29 questions
PICO-8 - INTRO
Quiz
•
12th Grade
30 questions
PYTHON После 4 Модуля
Quiz
•
9th - 12th Grade
29 questions
Dzień bezpiecznego Internetu
Quiz
•
12th Grade
39 questions
Eng-103 Vocab 4
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Los mandatos y las recetas
Lesson
•
11th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade