Question: It is Java CHALLENGE 5.10.1: Overload salutation printing ACTIVITY Complete the second printSalutation0 method to print the following given personName Holly and customSalutation Welcome: Welcome,

It is Java
CHALLENGE 5.10.1: Overload salutation printing ACTIVITY Complete the second printSalutation0 method to print the following given personName "Holly and customSalutation "Welcome: Welcome, Holly 1 import java.util.Scanner; 3 public class Multiplesalutations 1 test 4 public void printSalutation(String personName) System.out.println("Hello, "+personName); 358 All tests passed 8 Your solution goes here / 10 public static void main (String [ args) MultipleSalutations nameTag new Multiplesalutations) 12 13 14 15 16 nameTag.printSalutation("Sanjiv"); nameTag.printSalutation("Holly", "Helcome"); Run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
