View RSS Feed

Recent Blogs Posts

  1. Polymorphism

    by , 04-26-2012 at 06:57 PM
    Polymorphism is considered as an object’s ability so that it could take on various forms. It is most commonly used in OOP where parent class reference usually refers the child class objects.

    Any java object that can pass more than one IS-A test is considered to be polymorphic. In Java, all java objects are polymorphic since any object will pass the IS-A test for their own type and for the class Object.
    It shall be known that objects are access by one single way and that is ...
    Tags: polymorphism Add / Edit Tags
  2. Polymorphism

    by , 01-08-2012 at 12:07 PM
    It allows using objects of different types by using or calling object of only one type. This concept is called polymorphism. It will automatically call the method of desired object. It is also referred as “bottom up” method call. It helps you to add new classes of derived objects without major changes in code and breaking the code call sequence.

    Below image explains the concept of polymorphism. Send a message to a method without knowing its type. It is also known an dynamic binding ...
    Tags: polymorphism Add / Edit Tags