Multiple choice

A function can also return an object.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In programming, functions can return various data types including primitive values (numbers, strings, booleans) and complex objects. Objects are a valid return type in languages like JavaScript, Python, and many others.