問題文
A method returns an Integer that happens to be null, and the caller stores it into an int. What occurs at that moment?
選択肢
- The conversion silently attempts the implied numeric extraction, and the absent object therefore raises the pointer error immediately.
- The conversion silently attempts the implied address copy, and the absent object therefore raises the pointer error immediately.
- The conversion silently attempts the implied numeric extraction, and the absent object therefore raises the arithmetic error immediately.
- The conversion silently attempts the implied address copy, and the absent object therefore raises the arithmetic error immediately.