|
Advertisement
|
Forum posts by John Ren:1 page [ 1 ]
Posted in Java Answers Forum, Mar 8, 2002, 2:41 AM
Firstly we thank you very much.We are students in China. We are reading 'Thinking in Java 2nd Edition'. Possibly because of the difference of language, we meet the following question:In section 'Where storage lives' in Chapter 2, about heap we get the information "This is a general-purpose pool of memory (also in the RAM area) where all Java...
Posted in Java Answers Forum, Mar 7, 2002, 3:32 PM
My question is that if a object has only one data member(field) of a primitive type and the object lives on the heap, where is that field placed? On the heap or the stack?Beg another help, would you tell us the actual size of the Boolean variable? Some books tell readers it's 1 bit, otherwise, other books tell us it's 1 byte/8-bit, even there's...
1 page [ 1 ]
|