Let's say I have two object public calss Object1{ private name; private id; private depetId;
} public calss Object2{ private name; private id; private depetId; private country; private jobFamily; private isActive; ..... (there are another 100 attributes) } Then I create Object1 obj1= new Object1(); and set all attributes (name, id, depetId) of this object. Object2 obj2 = new Object2(); and then set the first three attributes(name, id, depetId). My question is that is obj1 and obj2 of the same size or usage of memory? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]