This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Hello friends Here line number is showing expected output which is 828 .But friend why output in line number 11 is ceene-abhi .It should follow rule followed in line number 10 and output should be -abhiceene().I mean -abhi should be calculated first thrn ceene should be added in it.
posted 2 years ago
Would it change the output if the order of computation was not what you think it is? Whatever is in left will stay in left. Right?
Edit : --n is 1. So that expression becomes -
str = str + "-" + "abhi"