InterviewSolution
Saved Bookmarks
| 1. |
Which of the following are valid floating point literal?(a) .5(b) 2(c) 0.5(d) None of the mentionedThis question was posed to me during an interview for a job.This intriguing question comes from Basics in section Ruby Basics of Ruby |
|
Answer» The correct OPTION is (c) 0.5 |
|