logo

Crowdly

Gegeben ist folgendes Programm. Was wird ausgegeben?

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

Gegeben ist folgendes Programm. Was wird ausgegeben?

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

/**

* Das Programm gibt den Wert einer Variablen aus

* @author Lisa Vittori

* @version 2016-12-15

*/

public class

Ausgabe {

/**

* Den Wert 5 ausgeben

*/

public static void

main(String[] args) {

int

zahl;

zahl =

5

;

Ausgabe.

ausgeben

();

}

/**

* Die Methode gibt den Wert einer Variablen aus

*/

public static void

ausgeben() {

int

zahl;

System.

out.println("Die Zahl ist: "

+ zahl);

}

}

More questions like this

Want instant access to all verified answers on elearning.tgm.ac.at?

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