mangaldo schreef:
> Hi Hendrik,
> Thanks a lot for replying..
> Here is a case,
> I call one method from one of the working thread, and i want it to
> return true if successful otherwise false.
Returning a boolean method for success is not considered good practice,
but I might get reactions on this (google for function vs. procedure).
The way to let know that it didn’t work, is to throw an exception. A
method ending normally is considered success.
I don’t really see what this has to do with you original question,
please give more concrete example code.
And please do not top-post.
H.
> pls advice
>
[quoted text clipped - 7 lines]
> would be ok. Give some example code, and I'll tell you. But of course,
> your professor won't be satisfied with this answer...
- --
Hendrik Maryns
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html