logo

Crowdly

Browser

Add to Chrome

Welche Ausgabe erzeugt der folgende Code? public class Aufgabe6 { static ...

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

Welche Ausgabe erzeugt der folgende Code?

public class Aufgabe6 {

static int i = 5;

static int j = 6;

public static void main(String[] args) {

int i = 3;

int j = 4;

int k = addiere(i,j);

System.out.println(k);

int l = addiere2(i,j);

System.out.println(l);

}

private static int addiere(int i, int j) {

return i + j;

}

private static int addiere2(int k, int l) {

return i + j;

}

}

More questions like this

Want instant access to all verified answers on moodle.hftm.ch?

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

Browser

Add to Chrome