最終更新日:2025/12/03

When accessing nested properties, using the safe navigation operator prevents NullPointerExceptions by returning null if any intermediate reference is null.

正解を見る

When accessing nested properties, using the safe navigation operator prevents NullPointerExceptions by returning null if any intermediate reference is null.

音声機能が動作しない場合はこちらをご確認ください
編集履歴(0)
元となった例文

入れ子になったプロパティにアクセスする際、ヌル伝播演算子を使うと、中間の参照がヌルであればヌルを返してヌル参照エラーを防げます。

Sentence quizzes to help you learn to read

編集履歴(0)

ログイン / 新規登録

 

アプリをダウンロード!
DiQt

DiQt(ディクト)

無料

★★★★★★★★★★