File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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
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

~Currently preparing for SCJP6
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

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:
subject: explain polymorphism using struts
It's not a secret anymore!