Answers

Question and Answer:

  Home  Ruby

⟩ Explain about variables?

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.

 211 views

More Questions for you: