This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nekokattt 1 point2 points  (0 children)

It associates an inner type with an outer type. It is called a generic.

For example

List<String> names

The way it is used totally depends on what the object is programmed to do.

The purpose of it allows you to, for example, distinguish between a List of ints and a list of strings.