Python/Java OOish type question

David S. Harrison daha at best.com
Thu Aug 31 14:48:23 EDT 2000


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)






More information about the Python-list mailing list