Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Integer 型の arraylist A があります。私はそれを次のように作成しました:
ArrayList<Integer> A = new ArrayList<Integer>();
今、それを引数として function に渡したいと思いますAnalyseArray()。
AnalyseArray()
どうすればこれを達成できますか?
次のように定義します
<return type> AnalyzeArray(ArrayList<Integer> list) {