Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CA5.10.1: Overload salutation printing Complete the second printSalutation0 method to print the following given personName Holly and customSalutation Welcome Welcome, Holly End with a newline.
CA5.10.1: Overload salutation printing Complete the second printSalutation0 method to print the following given personName Holly" and customSalutation Welcome Welcome, Holly End with a newline. CHALLENGE ACTIVITY 1 import java.util.Scanner; 3 public class Multiplesalutations 4 public static void printsalutation(String personName) ( System.out.printin("Hello, personName) 8 1/Define void printsalutation(string personliame, string customsalutation) 9 10 Your solution goes here / 12 public static void main (string [1 args)T printsalutation("Holly", "Welcome"); printsalutation("Sanjiv"); 14 15 16 63
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started