What is consumer interface?



What is consumer interface?..

Answer / Amrit Kumar

A functional interface in Java that accepts a single argument of any type and returns no result. The Consumer<T> interface is defined in the java.util.function package.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a private class in java?

1 Answers  


What is getclass () getname () in java?

1 Answers  


What is an abstract class and what is it’s purpose?

1 Answers  


What is the meaning of flag day?

1 Answers  


Is a boolean variable?

1 Answers  


In real time project which driver did u use? What is the main functionality of the Prepared Statement?

3 Answers   Photon,


Is it necessary that each try block must be followed by a catch block?

1 Answers  


Explain the JDB in depth & command line.

1 Answers  


What is java english?

1 Answers  


Why unicode is important?

1 Answers  


What data type is a string?

1 Answers  


What does java se mean?

1 Answers  


Categories