analytic

analytic

  • NA
  • 32
  • 0

Method call

Jun 1 2007 10:46 AM
I have a library called lib1 and I am calling a method in this library called "myMethod()". So in the main program I have
lib1 lib = new lib1();
.
.
.
.
lib.myMethod (a,b,m,n);
.
.
This is OK surely. However, after the call gets sent to myMethod and returns instead of passing to the next instruction it calls "lib.myMethod(a,b,m,n)" and then I get a "ArrayOutOf Range exception.

What is happeningg??

Answers (2)