当前位置:网站首页>On covariance of array and wildcard of generic type
On covariance of array and wildcard of generic type
2022-07-04 00:28:00 【Xiaobai's world】
1. What is covariance of array ?


In the picture above , One integer Array objects are treated as number Array objects . That is, subclass objects can be regarded as parent objects , It's called covariance . So he can also add Double Object of type .
2. What is a wildcard ?
? That is, uncertain java type
When the operation type , When you don't need to use type specific functions , Use only Object Function in class . Then you can use it ? Wildcards to table unknown types
① Upper bound wildcard

## ② Lower bound wildcard
·
边栏推荐
- [PHP basics] session basic knowledge, application case code and attack and defense
- China standard gas market prospect investment and development feasibility study report 2022-2028
- [cloud native topic -48]:kubesphere cloud Governance - operation - overview of multi tenant concept
- Bodong medical sprint Hong Kong stocks: a 9-month loss of 200million Hillhouse and Philips are shareholders
- Arc 135 supplementary report
- P1339 [USACO09OCT]Heat Wave G
- Ningde times and BYD have refuted rumors one after another. Why does someone always want to harm domestic brands?
- HR disgusted interview behavior
- Gossip about redis source code 83
- [PHP basics] cookie basics, application case code and attack and defense
猜你喜欢

Vscode regular match replace console log(.*)

Interview script of Software Test Engineer

Analysis: misunderstanding of choosing WMS warehouse management system

SPI based on firmware library

Reading notes on how programs run

Tencent interview: can you pour water?
![[about text classification trick] things you don't know](/img/c0/fdb04f6b31f1dba2658c2430dc4036.jpg)
[about text classification trick] things you don't know

Test the influence of influent swacth on the electromagnetic coil of quartz meter

BBS forum recommendation

Self study software testing. To what extent can you go out and find a job?
随机推荐
Introducing Software Testing
The culprit of unrestrained consumption -- Summary
Kubedl hostnetwork: accelerating the efficiency of distributed training communication
Docking Alipay process [pay in person, QR code Payment]
Iclr2022: how does AI recognize "things I haven't seen"?
Global and Chinese market of breast cancer imaging 2022-2028: Research Report on technology, participants, trends, market size and share
ESP Arduino playing with peripherals (V) basic concept of interrupt and timer interrupt
Software testers, how can you quickly improve your testing skills? Ten minutes to teach you
Cannot build artifact 'test Web: War expanded' because it is included into a circular depend solution
Advanced C language - pointer 2 - knowledge points sorting
It is forbidden to splice SQL in code
8. Go implementation of string conversion integer (ATOI) and leetcode
Zipper table in data warehouse (compressed storage)
Bodong medical sprint Hong Kong stocks: a 9-month loss of 200million Hillhouse and Philips are shareholders
Struct in linked list
Analysis: misunderstanding of choosing WMS warehouse management system
Data storage - interview questions
Makefile judge custom variables
MySQL winter vacation self-study 2022 12 (1)
(Introduction to database system | Wang Shan) Chapter V database integrity: Exercises