DEV Community

Discussion on: The real size of Android objects 📏

Collapse
 
supercilex profile image
Alex Saveau

I'm a little confused by the # com.example.Parent is 8 + 3 = 11 bytes stuff. The math doesn't add up with chars being 2 bytes. Maybe you had it as one byte like in C? Deleting one of the booleans should fix it.