Kevin Florenz Daus
Kevin Florenz Daus

Reputation: 598

What does <Object> in Map<Object> mean?

I'm new to java and I don't know what this code is

Map<Object>

What do they call these on java?

Can you tell me what does the code means? Is this casting? Can you direct me to an article leading to more examples and explanation of the said code?

Upvotes: 0

Views: 241

Answers (1)

dm3
dm3

Reputation: 2058

It's a declaration of a generic type. See this doc for more info.

Upvotes: 7

Related Questions