1. Home
  2. Computer Science MCQs
  3. JAVA
  4. In the context of functional programming, what is the…

Added 12 Sep 2025

In the context of functional programming, what is the Y-combinator used for?

  1. Memory allocation optimization
  2. Implementing recursion without named functions Correct answer
  3. Type inference
  4. Lazy evaluation

Correct answer

B. Implementing recursion without named functions

16 views

MCQSEXAM

Explanation

The Y-combinator allows recursion in languages that don't natively support named recursive functions.

Reference

Asked in: GATE CS, UGC NET CS

https://mvanier.livejournal.com/2897.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More JAVA MCQs

Practise all JAVA MCQs

Similar MCQs