Normal
Hallo Community,entschuldigt bitte, aber mich treibt das hier zur Verzweiflung.Ich verstehe einfach nicht warum das nicht funktioniert.[code=Java]public class script { public static void main(String[] args) { int a=0; werty(5); system.out.println(a); } public int werty(int z){ int a=z; return a; }}[/code]
Hallo Community,
entschuldigt bitte, aber mich treibt das hier zur Verzweiflung.
Ich verstehe einfach nicht warum das nicht funktioniert.
[code=Java]public class script {
public static void main(String[] args) {
int a=0;
werty(5);
system.out.println(a);
}
public int werty(int z){
int a=z;
return a;
[/code]