What are the various categories of pre-defined function interfaces?

1.Function: To transform arguments in returnable value.

2.Predicate: To perform a test and return a Boolean value.

3.Consumer: Accept arguments but do not return any values.

4.Supplier: Do not accept any arguments but return a value. 




CONVERSATION

0 Comments:

Post a Comment