0
How do i know which if will be excuted first??help
5 Answers
+ 4
It will execute in the order the if conditions are written in. For example if your code has two if statements and last and else statement. The first if statement condition will be checked, then the second if statement and final will be the else.
0
First in line.
0
first the external an then the internal "if"
0
it wil chck in seq order not in random order like from 1st if thn 2nd n 3rd ....so on
0
Java executes in orderly manner. So the first, second, etc if statement works the same way.