Please support our Java advertiser: Lunarpages Java Web Hosting
![]() |
why do you want to?
My site, random PM's from people I haven't hear from before will be DELETED
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "-Albert Einstein
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "-Albert Einstein
•
•
•
•
Thanks sciwizeh for ur reply.
I need to fetch the memory address of the variable . In one article which i have read that "we cant say that we cant access the memory location".
Use the Object.toString() method to return the memory address.
java Syntax (Toggle Plain Text)
public static void main(String... args){ Object o = new Object(); System.out.println(o.toString()); }
![]() |
Similar Threads
Other Threads in the Java Forum
- memory management in wndows 2000 (Windows NT / 2000 / XP / 2003)
- structure address changes when returned. (C)
- problem in sizeOf() program (C)
- Refrerenced memory at 0x0000000c could not be "read" (ASP.NET)
- Array of pointers (C++)
- C++hash table lookin' 4 help~~ (C++)
- help on 'Segmentation Fault' (C)
- Exercise using: unsigned char bcd(int n); (C)
- Another question regarding memory (C)
- accessing private data members (C++)
Other Threads in the Java Forum
- Previous Thread: How do i interpret this?
- Next Thread: screensaver
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode