Functional interview questions

21 real Functional questions from the Java bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Lambda expression?

Junior
  1. A.a stream intermediate operation that transforms each element by applying a function, producing a new stream
  2. B.a container object that may or may not hold a non-null value, used to avoid null reference errors
  3. C.an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
  4. D.a concise anonymous function written with arrow syntax that implements a functional interface
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Lambda expression — a concise anonymous function written with arrow syntax that implements a functional interface
  2. B.Lambda expression — an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
  3. C.Lambda expression — a lazily-evaluated pipeline for processing a sequence of elements with operations like filter and map
  4. D.Lambda expression — a container object that may or may not hold a non-null value, used to avoid null reference errors
Reveal the answer + AI explanation — free account

4. What is Functional interface?

Mid
  1. A.a concise anonymous function written with arrow syntax that implements a functional interface
  2. B.a container object that may or may not hold a non-null value, used to avoid null reference errors
  3. C.an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
  4. D.a stream intermediate operation that keeps only the elements matching a given predicate
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Functional interface — a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector
  2. B.Functional interface — an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
  3. C.Functional interface — a lazily-evaluated pipeline for processing a sequence of elements with operations like filter and map
  4. D.Functional interface — a container object that may or may not hold a non-null value, used to avoid null reference errors
Reveal the answer + AI explanation — free account

7. What is Stream?

Junior
  1. A.a concise anonymous function written with arrow syntax that implements a functional interface
  2. B.a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector
  3. C.a stream intermediate operation that transforms each element by applying a function, producing a new stream
  4. D.a lazily-evaluated pipeline for processing a sequence of elements with operations like filter and map
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.Stream — a lazily-evaluated pipeline for processing a sequence of elements with operations like filter and map
  2. B.Stream — a concise anonymous function written with arrow syntax that implements a functional interface
  3. C.Stream — an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
  4. D.Stream — a stream intermediate operation that transforms each element by applying a function, producing a new stream
Reveal the answer + AI explanation — free account

10. What is map operation?

Mid
  1. A.a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector
  2. B.a container object that may or may not hold a non-null value, used to avoid null reference errors
  3. C.a stream intermediate operation that transforms each element by applying a function, producing a new stream
  4. D.an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.map operation — a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector
  2. B.map operation — a container object that may or may not hold a non-null value, used to avoid null reference errors
  3. C.map operation — a stream intermediate operation that transforms each element by applying a function, producing a new stream
  4. D.map operation — a lazily-evaluated pipeline for processing a sequence of elements with operations like filter and map
Reveal the answer + AI explanation — free account

13. What is filter operation?

Mid
  1. A.a stream intermediate operation that transforms each element by applying a function, producing a new stream
  2. B.a stream intermediate operation that keeps only the elements matching a given predicate
  3. C.a container object that may or may not hold a non-null value, used to avoid null reference errors
  4. D.an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.filter operation — a lazily-evaluated pipeline for processing a sequence of elements with operations like filter and map
  2. B.filter operation — a concise anonymous function written with arrow syntax that implements a functional interface
  3. C.filter operation — a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector
  4. D.filter operation — a stream intermediate operation that keeps only the elements matching a given predicate
Reveal the answer + AI explanation — free account

16. What is collect operation?

Senior
  1. A.a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector
  2. B.a concise anonymous function written with arrow syntax that implements a functional interface
  3. C.a stream intermediate operation that transforms each element by applying a function, producing a new stream
  4. D.an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
Reveal the answer + AI explanation — free account

17. Which term means: "a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector"?

Senior
  1. A.Lambda expression
  2. B.filter operation
  3. C.collect operation
  4. D.Stream
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Senior
  1. A.collect operation — a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector
  2. B.collect operation — a stream intermediate operation that keeps only the elements matching a given predicate
  3. C.collect operation — a concise anonymous function written with arrow syntax that implements a functional interface
  4. D.collect operation — a container object that may or may not hold a non-null value, used to avoid null reference errors
Reveal the answer + AI explanation — free account

19. What is Optional?

Senior
  1. A.a stream terminal operation that accumulates elements into a result container such as a list or map using a Collector
  2. B.a container object that may or may not hold a non-null value, used to avoid null reference errors
  3. C.a concise anonymous function written with arrow syntax that implements a functional interface
  4. D.a lazily-evaluated pipeline for processing a sequence of elements with operations like filter and map
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Senior
  1. A.Optional — a concise anonymous function written with arrow syntax that implements a functional interface
  2. B.Optional — a container object that may or may not hold a non-null value, used to avoid null reference errors
  3. C.Optional — a stream intermediate operation that keeps only the elements matching a given predicate
  4. D.Optional — an interface with exactly one abstract method, eligible to be implemented by a lambda or method reference
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Functional free