2
Reply

Method call

analytic

analytic

Jun 1 2007 10:46 AM
1.7k
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)