aspose file tools*
The moose likes Programming Diversions and the fly likes explain polymorphism using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "explain polymorphism using struts" Watch "explain polymorphism using struts" New topic
Author

explain polymorphism using struts

S Sravs
Ranch Hand

Joined: Feb 25, 2008
Posts: 85
This was the interview question
does any body have some explanation about it?

Thanks in Advance
Sravanthi
Ove Lindström
Ranch Hand

Joined: Mar 10, 2008
Posts: 326

The fun answer, if you are from Sweden, would be:

A Struts,ostrich in english, Struthio in latin, is a bird that has only two species, Struthio camelus (the Australian ostrich) and Struthio molybdophanes, or the Somalian ostrich.

Both the Australian and the Somalian ostriches are of the type Struthio that is abstract. They are also Birds and of the base class Animal.

The real answer need some more thinking.
Brian Legg
Ranch Hand

Joined: Nov 07, 2008
Posts: 488


SCJA
~Currently preparing for SCJP6
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

If I were asked this question in an interview, I'd get up and just walk out.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: explain polymorphism using struts