The topic is pretty confusing, but i understood whatever was explained in there, and as bucky said we can do the same way for polymorphic return types.. but i am unable to understand how to go about using a polymorphic return type..
So if anybody could help out with that part, with reference that same video.
Java Programming Tutorial - 56 - Polymorphic Arguements
Post a Reply
|Oldest Newest Rating|
· September 24, 2014
hey i figured it out eventually.. but thanks a lot for the reply ! appreciate it
Pere Garau Burguera
· July 14, 2014
For example, you can have a method, like this:
With SubClass 1 and 2 extending SuperClass.
For example, Food would be the superclass and tuna and potpie the subclasses.
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|