• Matty_r@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 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.