Computers

University

Image

Array Java

1.5K
plays

15 questions

Show Answers
See Preview
  • 1. Multiple Choice
    1 minute
    1 pt
    _________________ is a collection of elements used to store the same type of data.
    Array
    Switch
    Case
    Loop
  • 2. Multiple Choice
    1 minute
    1 pt
    What are the legal indexes for the array ar, given the following declaration:
    int[] ar = {2, 4, 6, 8 }
     0, 1, 2, 3
     1, 2, 3, 4
    2, 4, 6, 8
     0, 2, 4, 6
  • 3. Multiple Choice
    20 seconds
    1 pt

    What is the first index of an array?

    1

    0

    2

    3

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?