This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
In the above program I want the output as yeargs ago, he used to be bad. But it is returning no output to me. Can anybody tell me how could I get my relevant answer, and what's the flaw this programme has to be not be able to returned the desirable result.