What is a functional interface? What is sam interface?



What is a functional interface? What is sam interface?..

Answer / Rahul Kumar Singh

A functional interface is an interface with exactly one abstract method. A SAM (Single Abstract Method) interface is a type of functional interface. It contains only one abstract method, and the name 'SAM' comes from this single abstract method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOAD Interview Questions

Which OOPS concept is used as a reuse mechanism?

1 Answers  


What do you mean by polymorphism?

1 Answers   InterGraph, Ittiam Systems,


Define Initialisation Purpose.

1 Answers   Atos, Atos Origin,


What are all the operators that cannot be overloaded?

1 Answers  


What is the use of ‘finalize’?

1 Answers  


what is full form OOP?

1 Answers   Wipro,


What is the difference between a virtual method and an abstract method?

1 Answers  


Explain the use of Vtable and what are the various problems to override the functions?

1 Answers   Ittiam Systems,


Explain what you understand by function overloading.

1 Answers   TCS,


Explain about the relationship between object oriented programming and databases?

1 Answers  


What are the interfaces you used in beans?

1 Answers  


Write a program to show the inheritance used in a class.

1 Answers  


Categories