Ruby On Rails Interview Questions and Answers
Ques. How and when would you declare a Global Variable?Ans. Global variables are declared with the ‘$’ symbol and can be declared and used anywhere within your program. You should use them sparingly to never.
Is it helpful? Yes No
Most helpful rated by users: