> I have few questions about Java languages, these are following.
One would normally say the Java "language", but I can see how one might
consider that there are more than one.
> 1) Is function allow us to write inner function?
No, but you can get somewhat the same effect by using a functor class, that
is, an implementation of an interface that has a method that is different for
different subclasses.
<snippets>
interface Executor
{
void execute();
}
...
public void someFunc( Executor x )
{
x.execute();
}
</snippets>
> 2) Is anonymous inner class exist??
Yes, if you mean, "Does Java support anonymous inner classes?"

Signature
Lew
Neo - 22 May 2007 15:59 GMT
Thanks Lew! :)
Regards,
-aims