Because the || operator performs short-circuit evaluation, your boolean expression will generally be evaluated faster if the subexpression that is most likely to be true is on the left.
Correct Answer:
Verified
Q14: A local variable's scope always ends at
Q50: What will be printed when the following
Q51: What would be the value of discountRate
Q52: The if/else statement will execute one group
Q53: What will be the value of charges
Q54: If str1 and str2 are both Strings,
Q56: When two Strings are compared using the
Q57: What does the following code display?
Double x
Q58: What will be printed when the following
Q60: An important style rule you should adopt
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents