{ Winners do what losers don't do }
Sreenivasa Majji
After the Object constructor returns the test() method is invoked (as defined in the DerivedTest class). Since at this point the variable i has only been declared and not yet been initialized i is printed as zero.
{ Winners do what losers don't do }
Tony Morris
Java Q&A (FAQ, Trivia)
"The self-controlled soul, who moves amongst sense objects, free from either attachment or repulsion, he wins eternal Peace." - Bhagavad Gita
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |