PrepAway - Latest Free Exam Questions & Answers

Which two actions can be done in a Python language list or Java language array?

Which two actions can be done in a Python language list or Java language array? (Choose
two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Lists/arrays can access an arbitrary element in constant time.

B.
Lists/arrays can access an arbitrary element in linear time.

C.
Lists/arrays can be indexed by integers and strings.

D.
Lists/arrays can only be indexed by integers.


Leave a Reply