Exam 6: Arrays and Arraylists
Exam 1: Introduction to Computers and Java44 Questions
Exam 2: Introduction to Java Applications34 Questions
Exam 3: Control Statements39 Questions
Exam 4: Control Statements27 Questions
Exam 5: Methods36 Questions
Exam 6: Arrays and Arraylists48 Questions
Exam 7: Introduction to Classes and Objects27 Questions
Exam 8: Classes and Objects: a Deeper Look27 Questions
Exam 9: Object Oriented Programming: Inheritance22 Questions
Exam 10: Object-Oriented Programming: Polymorphism30 Questions
Exam 11: Exception Handling27 Questions
Exam 12: Gui Components78 Questions
Exam 13: Graphics and Java 2D19 Questions
Exam 14: Fundamentals of Characters and Strings26 Questions
Exam 15: Files, Streams and Object Serialization26 Questions
Exam 16: Generic Collections41 Questions
Exam 17: Lambdas60 Questions
Exam 18: Recursion15 Questions
Exam 19: Searching, Sorting and Big O21 Questions
Exam 20: Generic Classes and Methods15 Questions
Exam 21: Custom Generic Data Structures17 Questions
Exam 22: GUI26 Questions
Exam 23: Concurrency54 Questions
Exam 24: Accessing Databases With JDBC35 Questions
Exam 25: JavaFX26 Questions
Select questions type
Class ________ represents a dynamically resizable array-like data structure.
(Multiple Choice)
4.8/5
(39)
In array items, which expression below accesses the value at row 3 and column 4?
(Multiple Choice)
4.8/5
(32)
What do the following statements do?
Double[] array;
Array = new double[14];
(Multiple Choice)
4.8/5
(31)
Attempting to access an array element outside of the bounds of an array, causes a(n) .
(Multiple Choice)
4.8/5
(36)
An argument type followed by a(n) in a method's parameter list indicates that the method receives a variable number of arguments of that particular type.
(Multiple Choice)
4.9/5
(44)
Which of the following statements creates a multidimensional array with 3 rows, where the first row contains 1 element, the second row contains 4 elements and the final row contains 2 elements?
(Multiple Choice)
4.9/5
(46)
Consider the array:
S[0] = 7
S[1] = 0
S[2] = -12
S[3] = 9
S[4] = 10
S[5] = 3
S[6] = 6
The value of s[s[6] - s[5]] is:
(Multiple Choice)
4.8/5
(34)
Which expression adds 1 to the element of array arrayName at index i?
(Multiple Choice)
4.8/5
(43)
Which statement correctly passes the array items to method takeArray? Array items contains 10 elements.
(Multiple Choice)
4.8/5
(40)
Which of the following statements about arrays are true?
A. An array is a group of variables containing values that all have the same type.
B.Elements are located by index.
C. The length of an array c is determined by the expression c.length();.
D. The zeroth element of array c is specified by c[0].
(Multiple Choice)
4.9/5
(33)
Which flag in a format specifier indicates that values with fewer digits than the field width should begin with a leading 0?
(Multiple Choice)
4.8/5
(29)
Showing 21 - 40 of 48
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)