adspace


What is predicate in lambda expression?

Answer Posted / Devendra Pratap Singh

A predicate in a lambda expression refers to a function that returns a boolean value. Predicates are often used with collection methods like filter and map to perform conditional operations on elements of the collection.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by casting in java language? What are the types of casting?

923


What is the first argument of the string array in main method?

1030


What is the java api?

993


Can we extract main method from another class?

1034


How does java handle integer overflows and underflows?

1112


What if I write static public void instead of public static void?

933


What is the resourcebundle class?

1011


What is the locale class?

1024


Are jvm’s platform independent?

982


what is reflection api? How are they implemented?

1104