The term box and related phrases such as boxing a value are often used when relating to memory layout. What does box refer to?

Question:The term box and related phrases such as boxing a value are often used when relating to memory layout. What does box refer to?

1.It's creating a pointer on the heap that points to a value on the stack.

2.It's creating a pointer on the stack that points to a value on the heap.

3.It's creating a memory guard around values to prevent illegal access.

4.It's an abstraction that refers to ownership.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!