最終更新日
:2025/12/03
safe navigation operator
名詞
日本語の意味
プログラミングにおいて、第一引数がnullの場合はnullを返し、そうでない場合は第二引数を返す二項演算子。明示的なnullチェックを省略してコードを簡略化するために使用され、「Null条件演算子」または「安全なナビゲーション演算子」とも呼ばれる。
( plural )
復習用の問題
(programming) A binary operator that returns its second argument, unless the first argument is null, in which case it returns null; used to simplify code that would otherwise need multiple explicit checks for nullity.
音声機能が動作しない場合はこちらをご確認ください
正解を見る
safe navigation operator
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.
音声機能が動作しない場合はこちらをご確認ください
英語 - 英語
項目の編集設定
- 項目の編集権限を持つユーザー - すべてのユーザー
- 項目の新規作成を審査する
- 項目の編集を審査する
- 項目の削除を審査する
- 重複の恐れのある項目名の追加を審査する
- 項目名の変更を審査する
- 審査に対する投票権限を持つユーザー - 編集者
- 決定に必要な投票数 - 1
例文の編集設定
- 例文の編集権限を持つユーザー - すべてのユーザー
- 例文の削除を審査する
- 審査に対する投票権限を持つユーザー - 編集者
- 決定に必要な投票数 - 1
問題の編集設定
- 問題の編集権限を持つユーザー - すべてのユーザー
- 審査に対する投票権限を持つユーザー - 編集者
- 決定に必要な投票数 - 1