Hello,
suppose I declare a class with a huge amout of instance variables and
many, long, instance methods.
If I create thousands of objects of this class, of course there will be required
thousands times the space of the variables, but what about the method code?
I guess it's not repicated, but this up to the compiler.
Since it's likely to depend on the platform and JDK release, how does the Linux
javac behave?
---
Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at
University of Pisa - Italy - E-mail: [EMAIL PROTECTED]
My home page: http://www.cli.di.unipi.it/~controzz/intro.html
Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group).
Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of...
+-------------------------------------------------------------+
| . * . |
| . __ . . |
| oq | po _ _ |
| / #==>>>==# ,-' (_)\ |
| | ,-|~\\ ///_ ,() ,_____} |
| | |/|~]]] /// ,-~' .,~ / \| . |
| |\_|_|_\_\~~----~~' \ ( /| . |
| . /~ \___/ [m] \ \__// |
| _bo..__ // `-,.~~ |
| _-~ 0000000000000ooooo.__ ( . |
| \ 000000000000000000000000o . |
| . (_)0000000000000000000000 |
| . \~~~*,,,* ~000000000000000000 |
| ~0000000000000 . |
| ~~~---~~ |
| .* |
+-------------------------------------------------------------+