IntelliJ Java IDE
The moose likes Programming Diversions and the fly likes explain polymorphism using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Reply 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
Sheriff

Joined: Jul 11, 2001
Posts: 15040

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


My Blog | DZone Articles
 
IntelliJ Java IDE
 
subject: explain polymorphism using struts
 
MyEclipse, The Clear Choice