Explain about Float, Dig and Max?
Answer / Ankita Kumari
Float is a Ruby built-in class representing floating-point numbers. It extends the core Numo module, allowing various mathematical operations. Dig refers to the number of decimal places displayed for a floating-point number. The max method can be used with two or more floating-point numbers as arguments to determine the maximum value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?
Explain ruby strings.
Explain about methods?
Explain about garbage collection feature of ruby?
Tell me what is the command to create a migration?
How many types of associations relationships does a model has?
What is rvm?
Where does a scope change in a ruby program?
What is the difference between a statement and an expression in ruby?
Is ruby a statically typed or a dynamically typed language?
How will you comment in ruby.
What are some built-in ruby class exceptions.