Microsoft
Software
Hardware
Network
Question : Java small object size
Could some one give a rough estimation how big size could be for small object.
Person{
int name;
int age;
}
Female extends Person{
boolean: isMarried
}
Male extends Person {
SomebusinessMethod{
Some objects creation. execution
}
}
1) How rough size of a Person?
2) If females and male is created, since male has many business logic, does male object would be larger than female
3) I want to know a) how is overhead size of an object?
b) is some object has more business logic, instance creation, takes more memory than a simple object?
Answer : Java small object size
1) ~ 10-20 bytes
2) no, methods are part of the class not the instances
3a) ~ 10 bytes I think
3b) see 2.
Random Solutions
offline Files windows 7 ultimate
How to upgrade CentOs Kernel to latest version?
What are the steps involved in installing a file that I just downloaded off the internet on a Macintosh OS X v.10.4.11 computer?
Simple LDAP tutor
Local_Developmnt
Exchange 2007 Resource Mailbox hide organisers name
SMC8648T Tigerswitch factory reset
My html Form is not getting parsed to cgi
Unknown reason for Error
default printing on TS, server 2008 x64, xpsp3 w/rdp7