Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Overloading Methods

Status
Not open for further replies.

Nixx123

Technical User
Jan 10, 2011
30
ZA
Hi Guys ,
One Question it is possible to pass a polymorphic argument to a overloaded method
or create an overloaded method to accept a polymorphic argument ?
Thanks Nixx123
 
Can you provide an example of what you need? I guess generics is the solution for you, but I'm not sure.

Cheers,
Dian
 
Hi
I am not looking for a solution as such , i merely wanted to understand if it is possible or not ,
I am Studying Java 6/7 at the moment .The book from which i am learning from does not explicitly state in the section on polymorphism that a polymorphic argument can be used in an overloaded method
Thanks
 
Dian ,
Thanks , do you perhaps know of any link for quick reference ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top