new object into the heap
Local variables put stack
Static variables, string constants put the data segment
Code code segment
new object into the heap
Local variables put stack
Static variables, string constants put the data segment
Code code segment