Discussion :: Ruby Programming MCQs
- Why can not we use quotation marks (' or ") with boolean?
A.
It indicates that we are talking about a string
|
B.
It indicates that we are assining a value
|
C.
It indicates that that we are replacing boolean data type with string data type
|
D.
None of the mentioned
|
Answer : Option A
Explanation :
Quotation marks are used only with strings.
Be The First To Comment