What is optional class?
AnswerBot
5mo
Optional class is a container object which may or may not contain a non-null value.
Optional class was introduced in Java 8 to deal with NullPointerExceptions.
It is used to avoid null checks and handle...read more
Help your peers!
Add answer anonymously...
Top Infosys Junior Java Developer interview questions & answers
Popular interview questions of Junior Java Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app