java take arbitrary number of arguments

Solutions on MaxInterview for java take arbitrary number of arguments by the best coders in the world