Polymorphism And Encapsulation In Java