Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 228 Bytes

File metadata and controls

2 lines (2 loc) · 228 Bytes

Checking null references and return non-null default references

Write a program that performs null checks on the given reference and if it is non-null then return it, otherwise return a non-null default reference.