| Author |
In Memory
|
SrinivasaRao Swarna
Greenhorn
Joined: Sep 17, 2006
Posts: 20
|
|
Can i know what is in-memeory? Please guide me
|
 |
Srinivasan thoyyeti
Ranch Hand
Joined: Feb 15, 2007
Posts: 557
|
|
Hi SrinivasaRao Swarna, Are you devotee of C language? You can see Runtime class where in will find some methods to see free memory, Total memory.. Like that. In Java all references act like pointers. String s = "Hi"; // Here we can't see address of Object int a[] = new int[10]; In C: char *s = "Hi"; // Here we can see address of variable int *a = (int *)malloc(10*sizeof(int));
|
Thanks & Regards,<br />T.Srinivasan,<br />SCWCD 1.4(89%),SCJP 5.0(75%)<br />"That service is the noblest which is rendered for its own sake." - Mahatma Gandhi
|
 |
SrinivasaRao Swarna
Greenhorn
Joined: Sep 17, 2006
Posts: 20
|
|
HiSrinivasan, Thank you very much. Java Virtual Machine have stack and heap memory.here stack have address of objects .I believe stack memory is in-memory. Thanks&Regards Srinivas
|
 |
 |
|
|
subject: In Memory
|
|
|