Search for question
Question

QUESTION 1: WRITING CODE 1 {20 points} Write a complete Java program with main and one other method. Test your program. Write a method called sayMeow that takes one parameter of

type int and returns a String. It returns the String containing Meow as many times as the value of the parameter (For example say:Meow (3) should return the String "Meow Meow Meow". If the parameter is 0 or less, return the empty String". In main, call the method at least twice with different parameter values and print out the value returned. BE SURE to separate your program into main and the method and use a method call with a parameter. Turn in your java file.