This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
when I try to invoke the coolMethod() using Moo instance(Moo m = new Moo()) (i.e) m.coolMethod() in the line #1. it's not called bcoz of run time i guess...but when i invoke inside useMyCoolMethod() of the Moo class. it's got invoked.(which is also invoked by the same instance Moo i guess..)