Function Pointer - Passing reference to self
<p>Hi is it possible to implement a function pointer in JAVA
I am trying to do something like this</p>

<pre><code>void methodA
{
  try
   {
   }
  catch(Exception E)
   {
    methodB(Pass the function pointer pointing to methodA)
   }
}

void methodB(fp some_function_pointer)
{
   call some_function_pointer
}
</code></pre>
