Search Interview Questions
| 3348 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Frequently asked these days as there are major changes in Java 8.|
|Ans. Lambda Expressions , Interface Default and Static Methods , Method Reference , Parameters Name , Optional , Streams, Concurrency.|
Sample Code for Lambda
Sample Code for interface default
Sample Code for Optional
Sample Code for Streams
Sample Code for java.time
Sample Code for Predicate
Sample Code for Consumer
Sample Code for MapMerge
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   java8   technical lead   technical architect Asked in 14 Companies expert   frequent|
|Difference between final and effectively final ? Why is effectively final even required ?|
|What is StringJoiner ?|
|Why can't we have diamond problem with interfaces ?|
|What is the use of Optional ?|
|Is it ok to use optional everywhere just to get over nullpointerexception ?|
|What is the @FunctionalInterface annotation ?|
|Difference between DoubleSummaryStatistics , IntSummaryStatistics and LongSummaryStatistics ?|
|Name few "Optional" classes introduced with Java 8 ?|
|What are the changes in Java.io in Java 8 ?|