8/ What’s the difference between String, StringBuilder, and StringBuffer? #JavaStrings
9/ What are lambda expressions? Give a basic example from Java 8. #Java8Features
10/ How do you create and run a thread in Java? What is multithreading? #Concurrency
Nowadays I am focusing more on java 8 features and revising functional interface,predicate, consumer, functions,supplier,lambda expression, static and default methods, comparator,streams API, data and time API and optional.
#java#springboot#java8features#streamapi
so here we do have functional interface, functional interface is a interface which contains only one abstract method and lambda expression is a anonymous function whose target is functional interface only, so to concise the code we use lamda expression
#Java8features#Java8