Beginner Ruby
Q5 / 100

Which symbol is used to denote a Symbol literal in Ruby, e.g. :name?

Correct! Well done.

Incorrect.

The correct answer is C) :

C

Correct Answer

:

Explanation

A colon prefix denotes a Symbol, an immutable, interned identifier commonly used as hash keys or method names.

Progress
5/100