The _______ method returns the number of elements in an ArrayList.

a) length
b) lengthOf
c) numberElements
d) size


d) size

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. A method is simply a function that you call on an object using the form object_name.method_name(arguments) b. The following session calls the string object s’s object’s lower and upper methods, which produce new strings containing all-lowercase and all-uppercase versions of the original string, leaving s unchanged: In [1]: s = 'Hello' In [2]: s.lower() # call lower method on string object s Out[2]: 'hello' In [3]: s.upper() Out[3]: 'HELLO' c. After the preceding session, s contains 'HELLO'. d. All of the above statements are true.

Computer Science & Information Technology

Which operator assigns a value to a string?

A. = B. += C. + D. ==

Computer Science & Information Technology

Use of the Shared Clipboard and Drag'n'Drop features of VirtualBox does not require the installation of Guest Additions tools.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Making changes to a document is also known as ____.

A. processing B. editing C. fixing D. changing

Computer Science & Information Technology