Pergunta de entrevista da empresa Tyler Technologies

Q: Describe what polymorphism is.

Resposta da entrevista

Sigiloso

29 de abr. de 2016

Polymorphism is the idea that a procedure can manipulate and scrutinize an object while remaining agnostic as to whether the object is actually of the class it is treated as, or a subclass thereof. I.e. if Car extends Vehicle, then you should be able to use vehicle.GetSpeed() whether the vehicle is a Car or just a Vehicle.