Home > Java > Javagetting Started > java what does it mean?

java what does it mean?

爱喝马黛茶的安东尼
Release: 2019-11-11 15:37:11
Original
7360 people have browsed it

java <T> what does it mean?

##In JAVA, means generic, which means that another class needs to be used in the Tree class, but the specific type of the class to be used cannot be determined. , so use T instead for the time being. When the specific program knows what type to use, use that type to replace T, and it will be ok. For example, I need to instantiate a Tree class, and the class I need to use is String, then I can instantiate Tree() like this.

java <T> what does it mean?

php Chinese website, a large number of free

Java introductory tutorials, welcome to learn online!

The above is the detailed content of java what does it mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template