java make a method that connects two strings

Solutions on MaxInterview for java make a method that connects two strings by the best coders in the world