Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

J. Other Topics > Self-Review Exercises

Self-Review Exercises

J.1 Fill in the blanks in each of the following statements:

a. A(n) __________ is used to iterate through a collection and can remove elements from the collection during the iteration.

b. An element in a List can be accessed by using the element’s __________.

c. Assuming that myArray contains references to Double objects, __________ occurs when the statement "myArray[ 0 ] = 1.25;" executes.

d. Java classes __________ and __________ provide the capabilities of arraylike data structures that can resize themselves dynamically.

e. Assuming that myArray contains references to Double objects, __________ occurs when the statement "double number = myArray[ 0 ];" executes.

f. ExecutorService method __________ ends each thread in an


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial