Question: ACTIVITY 4 . 7 . 1 : In the main method, call the shout method twice. 5 4 1 6 6 4 3 8 1
ACTIVITY
: In the main method, call the shout method twice.
Implement a method shout that prints a line consisting of a string followe shout Hello should print Hello!!! The shout method should not
In the main method, call shout twice, once for each input string.
public class ShoutDemo
public static Your code goes here Your code goes here Your code goes here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
