Professional Development

Image

Java String and Array

1.4K
plays

17 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 a string?

    length()

    size()

    long()

    count()

  • 3. Multiple Choice
    5 minutes
    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?