Test Your Knowledge: Quiz
Question 10-1. What is the index of the seventh member of an array?
Question 10-2. Can an array hold objects of varying types?
Question 10-3. How do you specify the number of elements in an array?
Question 10-4. Are arrays reference types or value types? Where are the elements of the array created?
Question 10-5. How do you specify the highest index in any array?
Question 10-6. What are the two ways to initialize an array of three values?
Question 10-7. What are two ways to iterate through the items in an array?
Question 10-8. What does the params keyword do?
Question 10-9. What are the two types of multidimensional arrays and what is the difference between them?
Question 10-10. If you have a random array of float values, and you need them to be in order, with the largest value first, what methods should you use?
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access