Тёмный

Optional Class In Java & Optional Class Methods in JAVA | Tutorail | Dilip Singh 

Dilip IT Academy
Подписаться 3 тыс.
Просмотров 2,1 тыс.
50% 1

As part of making sessions about features introduced from the JAVA 8 Version, I have created this session for Understanding Optional Class, it's functionalities, and usage in Java language for Java beginners to understand more specifically.
Please follow me for more upcoming sessions and updates.
📌 Other Java 8 sessions with Examples:
Default & static Methods in Interfaces: • default Methods in Int...
Functional Interfaces & Lambda Expressions : • Functional Interfaces ...
Method and Constructor References: • Method References in ...
Pre-Defined Functional Interfaces: • Predicate, Function, C...
📌JAVA 8 | FEATURES | Playlist: • JAVA 8 Features Tutor...
The Optional class defined in java.util package. The Optional class in Java 8 is a container object which is used to contain a value that might or might not be present.
Optional classes are that represent a value that can be present or absent. It was introduced as a way to help reduce the number of NullPointerExceptions that occur in Java code. It is a part of the java.util package and was added to Java as part of Java 8.
Optional is a container that either contains a non-null value or nothing(empty Optional ). The Optional class is an implementation of the Null Object pattern, which is a design pattern that was designed to reduce the number of null checks in code. With Optional, you can write cleaner and more concise code that is easier to maintain.
I have explained the internal details of the below points in this session.
👉What is Optional Class
👉Use Cases Of Optional Class and Implementations
👉Methods of Optional Class
Source Code: github.com/dil...
I will make sessions by covering every feature introduced from Java 8 onwards, with more use cases and implicit details by concerning the usage in application development and interview perspective also.
Please Follow for More Updates and Content 👍:
👉 Bio Links : linktr.ee/Dili...
👉 Instagram : / dilipitacademy
👉 LinkedIn : / dilipsingh1306
👉 Github : github.com/Dil...
👉 Medium : / dilipitacademy
#Optional #OptionalClassInJava #OptionalClassMethods #null #nullpointerexception #java #java8 #lambda #lambdaexpressions #predicate #supplier #function #util #java #spring #springboot #mvc #microservices #progrmmer #coding #programming #interview #dilipsingh_1306 #interviewtips #web #backend #developer #training #mvc #rest #api #java8 #java8stream #functionalinterface #jdk #static #default #methods #interfaces #interface #stream #streamapi #java21 #java11 #jdk #jre #class #javaclass #variables #questions #question #javainterviewquestions #javainterview
#JavaProgramming #CodeIgniter #ProgrammingTutorial #JavaDeveloper #SoftwareDevelopment
#CodingTips

Опубликовано:

 

23 мар 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@DINESHKUMARWithSpringBoot
@DINESHKUMARWithSpringBoot 4 месяца назад
Sir, Really you have great knowledge ✍✍and you explained with great efforts ✍as resulting into crystal and crispy visualization 🖼. Great thanks Sir, really you are doing great job. Please keep continue .....🙏🙏
@shankar7435
@shankar7435 Месяц назад
Such an insightful tutorial on Optional class. Thanks a lot.
@RoopkishorPandeyji
@RoopkishorPandeyji 3 месяца назад
Its like listening to songs🎉😊
@sagarsri4143
@sagarsri4143 4 месяца назад
Very Good Explanation
@hemantkumar7077
@hemantkumar7077 2 месяца назад
Sir please cover Multiple Threading and Exceptional handling
@abhiganta
@abhiganta 3 месяца назад
Sir, kudos to your efforts for explaining in detail. At 29:00 what if we return Optional.of(name) where name = null. Do we still get NPE?
@VamsiN-rv5mz
@VamsiN-rv5mz 3 месяца назад
nice explanation. Hope to see more videos on interview questions also
@sunilbihani7581
@sunilbihani7581 17 дней назад
Thanks a lot @Dilip Singh Sir. do you have any live class or any channel for java . Please confirm . so that can join ASAP. Thanks
@DilipItAcademy
@DilipItAcademy 16 дней назад
Reach Out Me : +91 8125262702
@sunilbihani7581
@sunilbihani7581 16 дней назад
@@DilipItAcademy Thank You Very Much Sir
@rameshwarsingh5953
@rameshwarsingh5953 4 месяца назад
Thanks sir ❤ 2:27
@ps-uh4kh
@ps-uh4kh 4 месяца назад
Sir please make video on stream API interview questions as well
@ps-uh4kh
@ps-uh4kh 4 месяца назад
sir can you please make video on interview question from companies for java developer with 2.5 to 3.5 years od experience
@eng1857
@eng1857 4 месяца назад
nice video
@sai_reddy
@sai_reddy 4 месяца назад
waiting for Stream API video
@DilipItAcademy
@DilipItAcademy 4 месяца назад
Making a good session with all scenarios of real time. I Wil upload as soon as possible
@SpringBootClasses
@SpringBootClasses 4 месяца назад
Waiting for stream APIs video
@DilipItAcademy
@DilipItAcademy 4 месяца назад
👍. In progress.
Далее
Х..евый доктор 😂
00:15
Просмотров 249 тыс.
Java Language Futures - Spring 2024 Edition
50:47
Просмотров 22 тыс.
Spring boot  | Enable Https For Spring Boot | SSL
12:22
The New Option and Result Types of C#
15:05
Просмотров 55 тыс.