InterviewSolution
Saved Bookmarks
| 1. |
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 mentionedI had been asked this question in an internship interview.Asked question is from Data Types and Variables in section Ruby Basics of Ruby |
|
Answer» The correct OPTION is (a) It INDICATES that we are TALKING about a string |
|