Examveda

Which of the following are valid floating point literal?

A. .5

B. 2

C. 0.5

D. None of the mentioned

Answer: Option C


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby