Sail E0 Webinar
Question
Consider the below given syntaxbook[datatype]=assignment_value;In the above syntax, the datatype within the square brackets must be
Options:
A .  An integer
B .  A String
C .  An object
D .  None of the mentioned
Answer: Option B


When using square bracket notation, the expression inside the square brackets must evaluate to a sting or a value that can be converted to a string.



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers