var obj = objectManager.createTextObject("Hello", "MyHello") obj.name = "Hello" obj.text = "MyHello" What happens when the following code is executed.

  1. A Text Object by Name:- MyHello and text value:- MyHello gets created in the database.

  2. A Text Object by Name:- MyHello and text value:- Hello gets created in the database.

  3. A Text Object by Name:- Hello and text value:- MyHello gets created in the database.

  4. Nothing is created, as one 'key/important statement' is missing in the code.


Correct Option: B

Find more quizzes: