Methods without any parameters in Java

class Greeting {
    public void SayGoodby() {
        System.out.println("Goodby!");
    }
}