Answer the question
In order to leave comments, you need to log in
How much does an object reference weigh?
Imagine a situation in which we created an object A a = new A(), and then this object was passed to some method b.info(a). How much does a reference to object a weigh? And what does the weight of the link depend on (on the architecture of the operating system, the weight of the object itself, etc.)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question