Explain about variables?

Submitted by: Administrator
There are four different types of variables they are local, instance, global, and class. Variables can be used in the program without any declaration and they can contain data of any type. A local variable contains lower case characters followed by name characters. Instance variable starts with a @ sign followed by name characters.
Submitted by: Administrator

Read Online Ruby Job Interview Questions And Answers