Send the following on WhatsApp
Continue to ChatHow to use Optional keyword to avoid NullPointerException in nested objects in Java? https://fullstackdeveloper.guru/2020/06/25/how-to-use-optional-keyword-to-avoid-nullpointerexception-in-nested-objects-in-java/