I’m wondering how a programming language like Java can handle Variables and/or Pointers in an isolated environment like Java Virtual Machine and its own Byte-Code.
Examples in Assembly or binary equivalents are highly appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suggest you read a little of how Java actually works.
Java doesn’t have pointers, it has references which you cannot examine in pure Java. An important distinction about references in Java is that they
It has variables like any other language but you can’t get a reference to them.
The byte code is a literal translation of the Java code and read it is unlikely to be more useful than reading the Java code unles syou have a deep understanding of Java. Note: the JVM compiles this to native code, so it is not the code actually run much of the time.