Question: solve it in java programming please all question Implement and test the following methods: 1. Write a recursive method that takes as a parameter a
solve it in java programming please all question 
Implement and test the following methods: 1. Write a recursive method that takes as a parameter a nonnegative integer and generates the following pattern of stars. If the nonnegative integer is 4, the pattern generated is as follows: * * * * ak * * * * * Also, write a program that prompts the user to enter the number of lines in the pattern and uses the recursive method to generate the pattern. For example, specifying 4 as the number of lines generates the preceding pattern. 2. Write a recursive method to generate the following pattern of stars: Also, write a program that prompts the user to enter the number of lines in the pattern and uses the recursive method to generate the pattern. For example, specifying 4 as the number of lines generates the preceding pattern. Write a recursive method, vowels, that returns the number of vowels in a string. Also, write a program to test 3. your method. 4. A palindrome is a string that reads the same both forward and backward. For example, the string "madam" is a palindrome. Write a program that uses a recursive method to check whether a string is a palindrome. Your program must contain a value-returning recursive method that returns true if the string is a palindrome and false otherwise
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
