How does Java know/evaluate the comparison of two int values;
int
for example:
int a=5; int b=10;
How does it evaluates whethe
The JVM interprets instructions such as
icmpge (Compare Greater than or Equal To)
To do comparisons. It is up to the platform specific JVM how this is performed on your platform of choice.
So you could say that comparison is native to the Virtual Machine