Hi there,

I hope I'm wrong on this, but I think that:

1) Memory allocation is a runtime task. By default, the JVM does nothing 
in compile time about choosing memory addresses or such.

2) Since everything is ran from inside a Virtual Machine, consider only 
the Java heap space. Of course at somne point the stack will be used, 
but I don't think that's transparent to the user, neither is should be.

3) Heap is virtual memory, hence inside Java Virtual Machine.

Remember I'm no guru, and I might as well not be fully right on all this :-P

Hugs

JKid314159 wrote:
> Dear Java Programmer:
>  
> 1) In instantiating a static member, such as a class or variable, 
> means this member will be compiled and a memory address put aside for 
> it and then be placed in memory at runtime?
>  
> 2) This memory place will be in the heap or the stack?
>  
> 3) Heap is inside the compiler or in ROM memory?
>  
> Respects,
>
> JKid314159
> http://groups.google.com/group/existentialist-reading-circle?hl=en
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to