q40. For the given constructor: public static void SayHappyB…

q40. For the given constructor: public static void SayHappyBirthday(String inName)   {                   System.out.print(“Happy birthday ” + inName + “!”); } Which of the following option(s) is(are) not a valid constructor overloading for the given constructor: //Option #1 public static void SayHappyBirthday()  {                   System.out.print(“Happy birthday!”); }   //Option #2 public static void SayHappyBirthday(int inAge)    {                   System.out.print(“Happy ” + inAge + “th birthday!”); }   //Option #3 public static String SayHappyBirthday(String inNameTo) {                 return “Happy birthday ” + inNameTo + “!”; }

q40. For the given constructor: public static void SayHappyB…

q40. For the given constructor: public static void SayHappyBirthday(String inName)   {                   System.out.print(“Happy birthday ” + inName + “!”); } Which of the following option(s) is(are) not a valid constructor overloading for the given constructor: //Option #1 public static void SayHappyBirthday()  {                   System.out.print(“Happy birthday!”); }   //Option #2 public static void SayHappyBirthday(int inAge)    {                   System.out.print(“Happy ” + inAge + “th birthday!”); }   //Option #3 public static String SayHappyBirthday(String inNameTo) {                 return “Happy birthday ” + inNameTo + “!”; }