On 16 Jul 2004 06:30:38 -0700,
(Razvan) wrote or
quoted :
> Is there something like a const member function in Java ? By const
>member function I understand a member function that is not going to
>modify instances of this class when it is called on such an instance.
>(simply put - the C++ meaning of const for member functions)
I think dynamic loading precludes that. It would take a lot of
tracking since a method could call a method of another class, which
might not even exist yet.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See
http://mindprod.com/jgloss/jgloss.html for The Java Glossary.