The regionMatches() method in Java's String class has two overloaded versions - one taking 4 arguments and another taking 5 arguments. The 5-argument version includes an additional boolean parameter to ignore case differences. Therefore, the maximum is 5 arguments.