Create a program called<yourLastName>TennisWinArray.java.
In the main method
Ask the user for the name of a tennis player
Ask the user for the number of years the tennis player hasplayed competitive tennis. Use this value as the size of an intarray.
Ask the user for the year the tennis player began playingcompetitive tennis
In a for loop, ask the user to enter the number of wins startingfrom the first year of play and store the value in the array. Theelement at index 0 will store the number of wins for the player’sfirst year.
Call the method printWins() with the player’s name, the firstyear of play and
PayPal Gateway not configured
PayPal Gateway not configured