pencil-icon
Build your own quiz

Computers

Professional Development

Image

Arrays

21
plays

10 questions

Show Answers
See Preview
  • 1. Multiple Choice
    5 minutes
    1 pt

    Is String a primitive data type?

    Yes

    No

    Both

  • 2. Multiple Choice
    5 minutes
    1 pt

    Which method to use to find length of an array?

    length

    size

    long

    count

  • 3. Multiple Choice
    5 minutes
    1 pt

    int[] myArray = {11, 22, 33, 44, 55};

    which code is correct to print length of above int-array?

    System.out.println(int[].myArray.length());

    System.out.println(myArray.length);

    System.out.println(myArray.length());

    System.out.println(int[].myArray.size());

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?