Yash, did u mean how many bytes/kbs each object of a class is taking from memory to be run?
If yes, i have no idea! But u can count the variables and their data types and as we know methods are shared in runtime by objects from stack, so we may guess a little bit. Actually i know this is far from a solution ....
...yet any other idea?
------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!