Exam 7: Arrays and Arraylists
Exam 1: Introduction to Computers and Java24 Questions
Exam 2: Introduction to Java Applications23 Questions
Exam 3: Introduction to Classes and Objects18 Questions
Exam 4: Control Statements: Part 141 Questions
Exam 5: Control Statements: Part 225 Questions
Exam 6: Methods: a Deeper Look42 Questions
Exam 7: Arrays and Arraylists41 Questions
Exam 8: Classes and Objects: a Deeper Look31 Questions
Exam 9: Object Oriented Programming: Inheritance23 Questions
Exam 10: Object-Oriented Programming: Polymorphism25 Questions
Exam 11: Exception Handling28 Questions
Exam 12: Atm Case Study,part 1: Object-Oriented Design With the Uml18 Questions
Exam 13: Atm Case Study,part 2: Implementing an Object-Oriented Design4 Questions
Exam 14: Gui Components: Part 177 Questions
Exam 15: Graphics and Java 2d15 Questions
Exam 16: Strings26 Questions
Exam 17: Files,streams and Object Serialization22 Questions
Exam 18: Recursion14 Questions
Exam 19: Searching, Sorting and Big O14 Questions
Exam 20: Generic Collections41 Questions
Exam 21: Generic Classes and Methods13 Questions
Exam 22: Custom Generic Data Structures16 Questions
Exam 23: Applets and Java Web Start12 Questions
Exam 24: Multimedia: Applets and Applications12 Questions
Exam 25: Gui, Part 225 Questions
Exam 26: Multithreading25 Questions
Exam 27: Networking15 Questions
Exam 28: Accessing Databases With Jdbc35 Questions
Exam 29: Java Server Faces Web Applications15 Questions
Exam 30: Ajax-Enabled Jsf Web Applications7 Questions
Exam 31: Web Services27 Questions
Select questions type
Which flag in a format specifier indicates that values with fewer digits than the field width should begin with a leading 0?
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
D
Class ________ represents a dynamically resizable array-like data structure.
Free
(Multiple Choice)
4.7/5
(39)
Correct Answer:
B
Which method sets the background color of a JPanel?
Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
B
In this question,assume a class,Book,has been defined.Which set of statements creates an array of Book objects?
(Multiple Choice)
5.0/5
(40)
Which of the following statements about creating arrays and initializing their elements is false?
(Multiple Choice)
4.8/5
(38)
Which method call converts the value in variable stringVariable to an integer?
(Multiple Choice)
4.9/5
(28)
What do the following statements do? double[] array;
Array = new double[ 14 ];
(Multiple Choice)
4.8/5
(40)
Which of the following sets of statements creates a multidimensional array with 3 rows,where the first row contains 1 value,the second row contains 4 items and the final row contains 2 items?
(Multiple Choice)
4.8/5
(42)
What kind of application tests a class by creating an object of that class and calling the class's methods?
(Multiple Choice)
4.8/5
(40)
Which statement below initializes array items to contain 3 rows and 2 columns?
(Multiple Choice)
4.8/5
(41)
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.8/5
(36)
Consider integer array values,which contains 5 elements.Which statements successfully swap the contents of the array at index 3 and index 4?
(Multiple Choice)
4.8/5
(40)
Assume array items contains the integer values 0,2,4,6 and 8.Which of the following set of statements uses the enhanced for loop to display each value in array items?
(Multiple Choice)
4.9/5
(41)
Showing 1 - 20 of 41
Filters
- Essay(0)
- Multiple Choice(41)
- Short Answer(0)
- True False(0)
- Matching(0)