Optional Class In Java | Java 8 Questions and Answers

preview_player
Показать описание
In this video, we discussed what is optional class in Java and showed various methods present in Optional Class in Java.

(paid link)
Recommended Books:
=====================================

(paid link)
Computer & Monitor
=====================================

#javainterviewquestions
#java
#javacoding
#javaprogramming
#optionalinjava8
Рекомендации по теме
Комментарии
Автор

Thank you. It will return Value is present. Because isPresent() method supports empty value aswell

sathiskumarp
Автор

Please expand this playlist... upload more video on Java8

Vithal_Nivargi
Автор

Hi CT, Your videos are so informative ya . Keep Educating us. And one request from my side, Can you do a video about Java projects ? I wanna do some personal project to put in my resume . but i. have no idea, what to do....

mohammedjavith
Автор

sure about value will not be null so use of...so the output is value is present

supriyagurav
Автор

Hi CT, we want some real industrial java 8 based and spring boot, mysql based real project

pritamprusty
Автор

He said, Checks are not readable that is why introduced Optional class in java. Can you tell why Checks are not readable?

ammaluandlucky
Автор

hello sir, missing your videos it's been 4 days couldn't see any videos

siddumaradi
Автор

Value is present (because here we are using Optional.of() that means sure value so that answer is Value is present)

vikashkumarbasant
Автор

Can’t we simply have this:
if (str == null) {
} else {
}

AkshayKumar-fodw
Автор

Value is present i am sure i know this

amarnathkumar
Автор

is it real interview, why you are talking like you you ... I will surely reject

mdasifsalim