This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes generics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "generics" Watch "generics" New topic
Author

generics

meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305

Hi,
I couldn't figure out difference between type parameter and parametrized type.
thanks



My one regret in life is that I am not someone else.
- Woody Allen
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38075
    
  22
Have you tried the Java Tutorials? Try the second section about types.
J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 865
    
  13

The definitive document on generics can be found here. It's not an easy read, but well worth the effort.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

A parameterized type is a type that has a type parameter.

Look, for example, at List<T> - List is the parameterized type, and T is its type parameter.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
bit developer
Greenhorn

Joined: Feb 03, 2013
Posts: 2
Visit this link to know more about typed collections.
http://www.questionscompiled.com/answer.jsp?technology=java&qid=63
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: generics
 
Similar Threads
connection object
Ajax AutoComplete
Drivers
instance withput reference
Scrabble... it only takes a minute...