The name of a variable

Report a typo

Let's suppose you want to create a simple programming language to use it together with Java.

In this language, the name of a variable can only start with a lower Latin letter like 'a', 'b', 'z' and so on. The following characters can be digits, lower and uppercase Latin letters, and even the underscore character _. Note that a name always has at least one character.

Select all suitable regular expressions that match valid variable names.

Select one or more options from the list
___

Create a free account to access the full topic