哪三项是正确的数组变量声明? (请选择三项) A. public int a [] B. static int [] a C. public [] int a D. private int a [3] E. private int [3] a []
时间: 2023-12-31 07:03:48 浏览: 70
JAVA中变量是什么共3页.pdf.zip
正确的数组变量声明是A. public int a \[\],B. static int \[\] a,和D. private int a \[3\]。
#### 引用[.reference_title]
- *1* *3* [怎样用java定义一个int数组 C++ 怎么声明一个整型数组?](https://blog.csdn.net/weixin_42528191/article/details/115065710)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [数组的三种比较方式的区别: ==,a.equals(b),和Arrays.equals(a,b)](https://blog.csdn.net/qq_40243295/article/details/115124969)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文