This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
This question was asked in scjptest.com website
Given the code. What is the result?
And Options are
B)An exception is thrown at runtime
C)"BeginRunEnd" is printed
D)"BeginEndRun" is printed.
E)"BeginEnd" is printed
And I thought answer is "unpredictable".Because it may print "BeginRunEnd" or "Run BeginEnd". I have checked it by adding the below code at line AAm I correct?
If yes. Will we get these type of questions in real exam?
And which option/answer is correct?