you can achieve polymorphism without inheritance using composition.
Composition is an oop topic, when we create an object of a class in an other class we called it composition.
http://www.artima.com/objectsandjava/webuscript/CompoInherit1.html
visit this link.