Primitive types are not objects, so they cannot be null. If you want to store a null value in a variable in Java, you can use a wrapper class such as Integer .
確定! 回上一頁