1.

Which of the following is not a valid datatype?(a) Float(b) Integer(c) Binary(d) TimedateI got this question in an interview for job.The origin of the question is Data Types and Variables in chapter Ruby Basics of Ruby

Answer»

The CORRECT OPTION is (d) Timedate

To explain: datetime is valid DATATYPE but timedate is not a valid datatype.



Discussion

No Comment Found

Related InterviewSolutions