How should you complete the code?
HOTSPOT You are creating a method named getThankYou that accepts four parameters and returns a formatted string. The getThanksYou method has the following signature. The method needs to return a formatted string as shown in the following example. Thank you…