Where's the method called encodeHandler (char[],int) ?, did you declareit in Encode class ?. In that case, dont you have to qualify it withthe instance name ?, ie Encode.encodeHandler (char[],int), assuming youdeclared it as a static method.