Method reference yet another useful feature in Java-8 which is used to write little code to call methods.
This video contain details about method reference and approaches to invokes methods from different levels
Covered Topics:
1. Instance method of an object: (object::instanceMethod)
2. Instance method of an arbitrary object of a particular type: (Class::instanceMethod)
3. Static method of a class: (Class::staticMethod)
4. Constructor: (Class::new)
Source Code : https://github.com/AshayKing/j8-practice
Medium Blog : / part-a-all-you-need-to-know-lambda-express...
#Java8 #FunctionalProgramming #LambdaExpression #FunctionalInterface #MethodRefecence
Full playlist: • Java- Acing New Features
You can connect with me on:
Medium : / ashaythecoder
LinkedIn : / ashayking8793
Please share, subscribe and comment below in case you learnt anything new!!
Additionally you can suggest Topics to be covered.