Campus interview zone
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What is a parameterized type?

Go down

What is a parameterized type? Empty What is a parameterized type?

Post  Admin Sun Jan 31, 2010 5:43 pm

Answer:
A template is a parameterized construct or type containing generic code that can use or manipulate any type. It is called parameterized because an actual type is a parameter of the code body. Polymorphism may be achieved through parameterized types. This type of polymorphism is called parameteric polymorphism. Parameteric polymorphism is the mechanism by which the same code is used on different types passed as parameters.

Admin
Admin

Posts : 71
Join date : 2010-01-21

http://campus-interview.co.cc

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum