Java code to create a non-element array of student marks with the size of 20.
Array

Quiz
•
Computers
•
University
•
Hard
rasyida rahman
Used 2K+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
double mark;
double [20] mark = new double;
double [ ] mark = new mark [20];
double [ ] mark = new double [20];
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Java code to create a non-element array of student name with size 15.
String [ ] name = new String;
String [ ] name = new String [15];
name = new String [15];
String [15] name = new String [ ];
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Java code to create an array of student id with element 115331, 450055, 555641, 875560 and 987555.
int [ ] id = new {115331, 450055, 555641, 875560, 987555};
int [5] id = {115331, 450055, 555641, 875560, 987555};
int [ ] id = {115331, 450055, 555641, 875560, 987555};
int [ ] id = new int [5];
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Java code to create an array of subject code with element S, M, C, P, I and K.
char [ ] code = {'S', 'M', 'C', 'P', 'I' and 'K'};
char [ ] code = {S, M, C, P, I, K};
char [ ] code = {"S", "M", "C", "P", "I", "K"};
char [ ] code = {'S', 'M', 'C', 'P', 'I', 'K'};
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Java code to display the size of an array name studentname[ ].
System.out.println("The size is " + studentname[ index ]);
System.out.println("The size is " + studentname.length);
System.out.println("The size is " + length.length);
System.out.println("The size is " + studentname);
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Java code to display all elements of array studentname[ ].
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Java code to read elements into array studentname[ ].
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Array

Quiz
•
University
10 questions
Java Basics

Quiz
•
University
12 questions
HTML, JAVASCRIPT,XML

Quiz
•
University
10 questions
Struktur Data

Quiz
•
University
12 questions
array read and access

Quiz
•
University
15 questions
Array Java

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University