No Such Method Exception

If you supply an incorrect number of arguments when calling a Java method, or if you use an incorrect data type, the Java VM responds with a java.lang.NoSuchMethodException error. Check the number and type of arguments.