NeuraQuiz
Categories
Quizzes
Practice
Blog
About
Login
Start Learning
Categories
Quizzes
Practice
Blog
About
Login
Start Learning
Core Java Foundations Quiz
Java
15:00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Question 1
of 20
BEGINNER
+1 XP
Previous
Flag
Submit
Next
Navigator
0/20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Submit Quiz
BEGINNER
1 pts
Which of the following is a valid way to declare an array in Java?
A
int[] arr = new int[5];
B
int arr[] = new int[5];
C
int arr = new int[];
D
int[] arr = new int();