mirror of
https://github.com/Dannecron/netology-devops-teamcity-example.git
synced 2025-12-25 15:22:35 +03:00
20 lines
432 B
Java
20 lines
432 B
Java
package plaindoll;
|
|
|
|
public class Welcomer{
|
|
public String sayWelcome() {
|
|
return "Welcome home, good hunter. What is it your desire?";
|
|
}
|
|
public String sayFarewell() {
|
|
return "Farewell, good hunter. May you find your worth in waking world.";
|
|
}
|
|
public String sayNeedGold(){
|
|
return "Not enough gold";
|
|
}
|
|
public String saySome(){
|
|
return "something in the way";
|
|
}
|
|
public String sayHunter(){
|
|
return "hunter x hunter"
|
|
}
|
|
}
|