• Matty_r@programming.dev
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    8 months ago

    I think the question is fine, but we have to assume they covered this type of method prior to the exam, where .length would result in the character count of a String.