logo

Crowdly

Minu erinevat muutujat esineb järgmises Java programmilõigus? int n = 123; ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Minu erinevat muutujat esineb järgmises Java programmilõigus?

int n = 123;

for (int i=0; i < n; i++) {

    if (i % 2 == 0) {

        String vastus = "paaris";

    }

    else {

        String vastus = "paaritu";

    }

}
More questions like this

Want instant access to all verified answers on moodle.ut.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!