##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.
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!