+ 1

Pass a method to another method at run time. JAVA

several functions want to pass each one to another method without recoding the method. OOP is confusing describing this.

5th Feb 2018, 2:09 AM
M Caddy
M Caddy - avatar
3 odpowiedzi
0
This will not confusing for programmers because this is a feature it's Java not a disadvantage
5th Feb 2018, 2:13 AM
Faisal Rahman
Faisal Rahman - avatar
0
That's what lambdas are for.
5th Feb 2018, 3:54 AM
1of3
1of3 - avatar
0
I have read a lot on lambdas. Will read more. Thanks.
6th Feb 2018, 12:12 AM
M Caddy
M Caddy - avatar