Computers

University

Image

Java Array

126
plays

23 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt

    Is String a primitive data type?

    Yes

    No

    Both

  • 2. Multiple Choice
    30 seconds
    1 pt

    Which method to use to find length of a string?

    length()

    size()

    long()

    count()

  • 3. Multiple Choice
    30 seconds
    1 pt

    Which data type gets returned from length() method in String class?

    double

    String

    int

    number

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?