Exam-style question
Try this first
Which of the following is a property of a first-class object or value?.
- A.It may be assigned to a variable
- B.It must be a character
- C.It can never appear in an expression
- D.It must be returned by every function call
Model answer
What a good answer should say
- It may be assigned to a variable
Explanation
Why this works
First-class objects or values may be assigned to variables. They may also appear in expressions, be assigned as arguments and be returned in function calls.
Common mistake
No common mistake is linked to this question yet.
