Wildcard (Java)

id: wildcard-java-234-4193688
title: Wildcard (Java)
text: In the Java programming language, the wildcard ? is a special kind of type argument that controls the type safety of the use of generic (parameterized) types. It can be used in variable declarations and instantiations as well as in method definitions, but not in the definition of a generic type. This is a form of use-site variance annotation, in contrast with the definition-site variance annotations found in C# and Scala.
brand slug: wiki
category slug: encyclopedia
description:
original url: https://en.wikipedia.org/wiki/Wildcard_(Java)
date created:
date modified: 2023-06-22T03:14:47Z
main entity: {"identifier":"Q1702586","url":"https://www.wikidata.org/entity/Q1702586"}
image:
fields total: 13
integrity: 13

Related Entries

Explore Next Part