Variable color | SoloLearn: Learn to code for FREE!

+1

Variable color

Hello I'm just curious but I want to understand why the sololearn text editor gives a blue color to my variables in the following code. In others it's not blue but white. I did a mistake maybe? https://code.sololearn.com/cdkjvL2Y837p/?ref=app

11/13/2019 4:46:23 PM

Ruben Enkaoua

2 Answers

New Answer

+3

You are starting the variable name with a capital character. Classes starts with capital character.

+1

Nitin Tiwari thank you man