Commentsmammadmortaji (27)in java • 4 years agoRE: Challenge yourself: guess what would be the answer?Thanks for your comment:) But the answer is negative! The reason: in the right code, the value of x will be changed after the first if statement.mammadmortaji (27)in java • 4 years agoRE: An interesting fact about java branchesWell, there is a reason behind it. Although we humans can be sure that the right and left codes are equivalent, the compiler scans the branching first and can't make sure that one of the statements…
Comments
RE: Challenge yourself: guess what would be the answer?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
RE: An interesting fact about java branches
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit