Answer the question
In order to leave comments, you need to log in
How does interpretation work in Java JVM?
I decided to delve into the JVM architecture and realized that I did not understand how the interpretation mechanism works.
I decided to look at the example of such an algorithm: 1) Pour water into the kettle 2) Light a match 3) Open the gas burner tap 4) Bring the match to the burner 5) Put the kettle on the stove 6) Wait for the water to boil 7) Turn off the gas.
Could you help with the Java Virtual Machine interpreter (how it reads and interprets the bytecode) using the algorithm proposed above as an example?
Answer the question
In order to leave comments, you need to log in
Ibragim123987 , The example of your algorithm is generally incorrect.
No programming language operates on boiling or kettles.
All programming languages operate on data (variables, memory cells).
Loops and conditions also operate exclusively with these data - numbers, strings (which are also numbers inside).
Therefore, based on your algorithm, there is no way at all
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question