Discussion Forum : Ruby Basics
Question - Why can not we use quotation marks (' or ") with boolean?
Options:
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


Quotation marks are used only with strings.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *