0

'this' is character literal or string literal

7th Sep 2016, 5:01 PM
Sohan Js
Sohan Js - avatar
3 Respostas
+ 1
It's a string, since there are several characters inside the quotes.
7th Sep 2016, 5:17 PM
Zen
Zen - avatar
+ 1
if you want to write this you need to use double quotes. that is it should be written as "this" which is called as a string literal.
21st Sep 2016, 2:29 AM
Rick
0
it's a character because it has been encoded in single quotes
9th Sep 2016, 7:45 AM
Prachi Paunikar
Prachi Paunikar - avatar