Penguin
Diff: PolymorphicTypes
EditPageHistoryDiffInfoLikePages

Differences between version 8 and revision by previous author of PolymorphicTypes.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 8 Last edited on Monday, June 6, 2005 1:28:50 am by DavidHallett Revert
Older page: version 7 Last edited on Tuesday, November 9, 2004 1:15:33 am by AristotlePagaltzis Revert
@@ -21,8 +21,9 @@
 ''It should be noted here that this page is talking about what is sometimes known as __parametric polymorphism__. [C++] has templates, which satisfy the definition above, but are known to be syntactic; each instantiation creates a specialised version of the code. In a "true polymorphic system" only one version of the generated code would be used. There are other ways to have polymorphic types, they often come up in ObjectOrientation. Oh, and parametric polymorphism is also often referred to as generics. -- SamJansen'' 
  
 ''Beginning with version 1.5 of the [Java] SDK, [Java] now also supports the concept of generics. -- DavidHallett'' 
  
+!!!Java Syntax  
 __Paramaterized Type__ 
  Vector<String> stringVector = new Vector<String> 
  List<Integer> integerList = new List<Integer>