- A ==
- B =
- C +=
- D !=
- Share this MCQ
Answer:
B
Share this MCQ
Justification:
- The “==” is used as a relational operator. This returns “true” when the two expressions are equal, it does not assign any values.
- The “=” is the correct operator to use to assign the value of the dbModel field to the value “Big Truck” in this example.
- The “+=” is an assignment operator that increments the value of the variable on the left by the value of the expression on the right. It does not assign values.
- The “!=” operator is a relational operator returns “true” if two expressions are NOT equal. It does assign values.
Related Lesson: Data Updates
Click me to Read more Question & Answer of Module 14: Database ManipulationShare this MCQ