
Java Quiz

Quiz
•
Computers
•
11th Grade
•
Hard
Richard McLean
Used 2+ times
FREE Resource
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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
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
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Code debugging - Round 1

Quiz
•
University
30 questions
Greenfoot Vocabulary

Quiz
•
9th - 12th Grade
30 questions
Pemrograman Mikroprosesor dan Mikrokontroler Sem2

Quiz
•
11th Grade
29 questions
Parcial 1 Programación en Java

Quiz
•
12th Grade
32 questions
1.4.2 Data Structures

Quiz
•
12th Grade
30 questions
OODP_Batch 1_Quiz

Quiz
•
University
30 questions
Lập trình hướng đối tượng

Quiz
•
University
31 questions
java collections

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