Tech Me More

To quench our thirst of sharing knowledge about our day to day experience & solution to techincal problems we face in our projects.

Advertise with us !
Send us an email at diehardtechy@gmail.com

Thursday, April 10, 2014

OCJP Practice question #11


          What will be the output of the following Java Program ?



Answer :

Choice B is correct

x *= 3 + 7; is same as x = x * (3 +7) = 5 * (10) = 50 because expression on 


the right is always placed inside parentheses. 


More Question here : OCJP

No comments: