There are several ways to empty an array in Java: 1. Assign a new empty array to the existing array variable: [code]Copy codemyArray = new int[0]; ...
確定! 回上一頁