Some body showed me and I forgot and I can't find my note book right now.
I think the piece of code printed a hexadecimal location.
I recently read a piece of C++ code in a magazine that did the same thing.
Final Question for Trivia: Are Computer Languages (Java, C++,etc,.) compatible with any operating system like Windows , Linux, etc.).???
How to write a piece of Java code that prints the address from memory in which information is stored?
Java doesn't allow the programmer access to memory like C/C++ -- you have references, not pointers.
Yes they're all compatible if you have the correct compiler -- Java is VM so it just needs a VM.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment