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 Above Code int cnt = 1; then also output is zero. from new abs(3)called abstract class xyz ' constructor it call class abs 'm1 method What i am thinking is in that time cnt is not initalisied to 1 so it is giving output '0'.Can some one expalain in details.