If you use so many parameters then,it would be convenient to use String...params as the arguments if you are going to do a similar operation on each of them or it follows a certain patternThen using for each looping,you can achieve your need.