53 lines
534 B
Java
Executable File
53 lines
534 B
Java
Executable File
package examples.achim;
|
|
|
|
class Modifier{
|
|
|
|
void test2(){
|
|
i;
|
|
i = "hallo2";
|
|
}
|
|
|
|
public test3(){
|
|
text;
|
|
text = "text";
|
|
return text;
|
|
}
|
|
|
|
public test31(){
|
|
text;
|
|
text = "text";
|
|
}
|
|
|
|
static test4(){
|
|
buchstabe;
|
|
buchstabe = 'a';
|
|
return buchstabe;
|
|
}
|
|
|
|
static test41(){
|
|
buchstabe;
|
|
buchstabe = 'a';
|
|
}
|
|
|
|
protected test5(){
|
|
zahl;
|
|
zahl = 10;
|
|
return zahl;
|
|
}
|
|
|
|
protected test51(){
|
|
zahl;
|
|
zahl = 10;
|
|
}
|
|
|
|
private test6(){
|
|
zahl;
|
|
zahl = 10;
|
|
return zahl;
|
|
}
|
|
|
|
private test61(){
|
|
zahl;
|
|
zahl = 10;
|
|
}
|
|
} |