Thread
:
help me..once again..
View Single Post
03-27-2006, 01:38 PM
#
4
(
permalink
)
Belisarius
Java fanboy
Join Date: Aug 2003
Posts: 1,174
The simplest way to showcase polymorphism is to write a method that takes in an Object and then call the toString() method on it. Almost every object in Java over-rides toString().
__________________
GitS
Belisarius
View Public Profile
Find More Posts by Belisarius