Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

In the following syntax, the data type within the square brackets must be ___________
book[datatype]=assignment_value;

In the following syntax, the data type within the square brackets must be ___________
book[datatype]=assignment_value;
a) An integer
b) A String
c) An object
d) Floating point

Answer: b
Explanation: The value inside the square bracket is used to access that data element or the property of the object. When using square bracket notation, the expression inside the square brackets must evaluate to a string or a value that can be converted to a string.

Join The Discussion