---
title: "Discussion on \"Optional in java\" | Hashnode"
description: "Discussion on \"Optional in java\". Ways to use Optional in java."
url: "https://hashnode.com/posts/optional/61667fc453401f641ba14b3a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Optional in java](https://sleyter.hashnode.dev/optional?utm_source=hashnode&utm_medium=feed)

Ways to use Optional in java.

Oct 13, 2021 · 3 min read · sleyter.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#validation](https://hashnode.com/tag/validation)
-   [#stream](https://hashnode.com/tag/stream)

## Written by

[Sleyter Sandoval](https://hashnode.com/@sleyter)

@sleyter · Lima, Peru

  
[View profile](https://hashnode.com/@sleyter)

Java Developer

I'm peruvian. I'm OCP Java 11 certified.

## Responses 2

Markdown supported · ⌘↵ to post

[Shai Almog](https://hashnode.com/@talktotheduck)

[Oct 18, 2021](https://hashnode.com/posts/optional/61667fc453401f641ba14b3a/comment/616d690bf1f4c944cc6b3689)

FYI check out the recent discussions around this article: [pkolaczk.github.io/overhead-of-optional](https://pkolaczk.github.io/overhead-of-optional/) pretty interesting stuff...

[Maddy](https://hashnode.com/@Maddy25)

[Oct 13, 2021](https://hashnode.com/posts/optional/61667fc453401f641ba14b3a/comment/6167259653401f641ba1590d)

Thanks for this! 😊
