null pointer
常見例句
- NULL is defined simply as a null pointer (0) because the null pointer is invalid as a pointer anyway.
NULL 被簡(jiǎn)單地定義爲(wèi)一個(gè)空指針(0),因爲(wèi)無論如何空指針都不是郃法的指針。 - Instead of defining a separate class for empty lists, it represents empty lists by putting a null pointer in both fields.
它在兩個(gè)域中都放置一個(gè)空指針來表示空鏈表,而不是爲(wèi)空鏈表定義一個(gè)單獨(dú)的類。 - Unlike, for example, a class-cast exception, a null-pointer exception says nothing about what was expected instead of the null pointer.
例如,不像一個(gè)類轉(zhuǎn)型異常,空指針異常不給出它所需要的內(nèi)容的任何信息,衹有一個(gè)空指針。 返回 null pointer