Last Updated:2025/12/03

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

See correct answer

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

音声機能が動作しない場合はこちらをご確認ください
Edit Histories(0)
Source Sentence

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

Sentence quizzes to help you learn to read

Edit Histories(0)

Login / Sign up

 

Download the app!
DiQt

DiQt

Free

★★★★★★★★★★