摘要: java中,变量分为局部和成员变量。局部变量在程序运行的过程中在栈stack中分配存储空间。从上到下是:heap, stack, data segment, code segment. 阅读全文