7
DRHAX34
7y

public class Celebrations {

public static void WishHappyBirthday(String toWho) {
if(toWho == null || toWho.isEmpty()){
System.out.println("Can't wish" +
"happy birthday to" +
"someone that doesn't exist");
return;
}

System.out.println("Happy Birthday " +
toWho + "!!!");
}
}

Comments
  • 3
    Oh, wait I forgot. Celebrations.WishHappyBirthday("devRant");
Add Comment