You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
278 B
Java
15 lines
278 B
Java
3 years ago
|
package com.company.voegel;
|
||
|
|
||
|
public class RentnerPapageil extends Papageil{
|
||
|
void sagHallo(){
|
||
|
for (int i = 0; i < 3; i++){
|
||
|
System.out.println("Hallo ");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
String getName(){
|
||
|
System.out.println(name);
|
||
|
return name;
|
||
|
}
|
||
|
}
|