Luckily, Java has a special syntax for initializing arrays to hardcoded numbers. type[] name = { elements };. // Java infers the array length.
確定! 回上一頁