Ruby Programming Language Question:

Explain about ruby names?

Tweet Share WhatsApp

Answer:

Classes, variables, methods, constants and modules can be referred by ruby names. When you want to distinguish between various names you can specify that by the first character of the name. Some of the names are used as reserve words which should not be used for any other purpose. A name can be lowercase letter, upper case letter, number, or an underscore, make sure that you follow the name by name characters.

Download Ruby PDF Read All 26 Ruby Questions
Previous QuestionNext Question
Explain about variables?Explain about normal method class?