Write a method called happyGreeting that could be added to the class
DateSecondTry in Display 4.2. The method happyGreeting writes the string
"Happy Days!" to the screen a number of times equal to the value of the
instance variable day. For example, if the value of day is 3, then it should write
the following to the screen:
Happy Days!
Use a local variable
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here