To declare an array, define the variable type with square brackets: String[] cars;. We have now declared a variable that holds an array of strings.
確定! 回上一頁