Kya koi batayega Ki yeah dono conditions k results kaise aaya.....
Any genius here, jo yeah solve kr skta h toh please jldi ...help me with this question......
Dono conditions k process chahiye. ..answer is given. Only need to know the way it is done....
Thnku soo much for your help......
Attachments:
Answers
Answered by
10
++I=10+11
therefore the first condition is false
I++=10
the value of I will change after the first execution
so the second one is true
therefore the first condition is false
I++=10
the value of I will change after the first execution
so the second one is true
rupalimharidwar:
please mark BRAINLIEST
Answered by
9
⭐️⭐️⭐️ HELLO FRIEND ⭐️⭐️⭐️
◆ Consider an example first. if a = 2, then :
++a = 3.
--a = 1.
◆ So, ++i <=10 is false if i is equal to 10 since in java, this are special operators carrying special meaning to the system compiler.
i ++ <= 10 is true because i++ means it will remain ten which is equal to 10.
==================================
⭐️ IF YOU LIKE MY ANSWER, PLEASE MARK ME AS BRAINLIEST MATE...............!!!!!!!!
⭐️ FOLLOW ME FOR MORE SOLUTIONS OF YOUR DOUBTS..........!!!!!!!!
⭐️ BE BRAINLY........!!!!!!!!
◆ Consider an example first. if a = 2, then :
++a = 3.
--a = 1.
◆ So, ++i <=10 is false if i is equal to 10 since in java, this are special operators carrying special meaning to the system compiler.
i ++ <= 10 is true because i++ means it will remain ten which is equal to 10.
==================================
⭐️ IF YOU LIKE MY ANSWER, PLEASE MARK ME AS BRAINLIEST MATE...............!!!!!!!!
⭐️ FOLLOW ME FOR MORE SOLUTIONS OF YOUR DOUBTS..........!!!!!!!!
⭐️ BE BRAINLY........!!!!!!!!
Similar questions