Monica Shiralkar wrote:But my doubt is regarding polymorphism. (How is it a valid case of polymorphism when here behaviour is same instead of different ).
Monica Shiralkar wrote:Instead my doubt is that when Polymorphism means same type showing different bevaviour in different situations but here whether it refers to arrayList or LinkedList the behaviour which the caller sees is the same.
Monica Shiralkar wrote:Is this an example of Abstraction or instead of Polymorphism ?
Tim Holloway wrote:I once noted to a proud application developer that you couldn't collect all those saved nanoseconds in a jar and use them later.
Simon Ritchie wrote:Oh, that's interesting. So basically, design it in such a way that on application startup the code should get the format of the responses from a configuration file?