This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "generics" Watch "generics" New topic


meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305

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

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

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

Joined: Dec 16, 2010
Posts: 1460

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: 15036

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 8 API documentation
bit developer

Joined: Feb 03, 2013
Posts: 2
Visit this link to know more about typed collections.
I agree. Here's the link:
subject: generics
It's not a secret anymore!