Python/Java OOish type question
Kirby Urner
urner at alumni.princeton.edu
Thu Aug 31 16:42:40 EDT 2000
daha at best.com (David S. Harrison) wrote:
>This is a misunderstanding of Java. Methods in Java are not part
>of a class instance. You are not wasting memory when you define
>new methods of a class. You can have as many instances of the class
>as you like. One method definition will be used for all of them.
>In that respect, Java is like all other OO based languages (including
>Python).
>
> David S. Harrison
> (daha at best.com)
>
Yes, you are correct. My confusions have been resolved. Many thanks.
Kirby
More information about the Python-list
mailing list