+ 1

Aren't the elements inside the curly brackets supposed to have quotation marks?

28th Dec 2016, 8:21 PM
Wayne Porter
Wayne Porter - avatar
3 ответов
+ 6
Only if they are Strings.
28th Dec 2016, 8:22 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
cool, thanks guys
28th Dec 2016, 8:29 PM
Wayne Porter
Wayne Porter - avatar
+ 1
not realy, in most of programming its depend on the purpose of the brackets, and the data types you means. for example if the brackets uses for array you may use double quotes if it was a String, or single quote for char
28th Dec 2016, 8:24 PM
Muhammad Sultoni
Muhammad Sultoni - avatar