Dynamic And Static Polymorphism In Java