Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
Solution to Question# 3 under "Definitions" on Midterm #1 Review for Spring 2004
3. What is Polymorphism?
Ans: Polymorphism is the ability for a programming language to process objects differently depending on their data type or class.
Sometimes functions can be overloaded through polymorphism (use the same name, but actually use different functions) the compiler or interpreter know which one to call based on the number or data types of the arguments.
With respect to squeak, polymorphism allows for the same message to perform different operations on the same data
Link to this Page
- Wesley Floyd last edited on 5 October 2005 at 4:04 pm by atlanta-lnx.cc.gatech.edu